Follow the below steps if you forgot your Weblogic Admin server password or has been corrupted.
1. Shutdown the environemnt completly if it is running.2. Remove the contents in the directory <Domain_Home>/servers/AdminServer/data, tmp and cache.
3. Go to <WLS_HOME>/server/bin and run setWLSEnv.sh as . ./setWLSEnv.sh
4. Check whether the class path has been set by running the command echo $CLASSPATH
For eg. It will return as below.
bash-3.2$ echo $CLASSPATH
/vino/fmw/jdk1.7.0_67/lib/tools.jar:/vino/fmw/product/1212_unifier/wlserver/server/lib/weblogic_sp.jar:/vino/fmw/product/1212_unifier/wlserver/server/lib/weblogic.jar:/vino/fmw/product/1212_unifier/wlserver/server/lib/webservices.jar:/vino/fmw/product/1212_unifier/wlserver/../oracle_common/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/vino/fmw/product/1212_unifier/wlserver/../oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/vino/fmw/product/1212_unifier/wlserver/modules/features/oracle.wls.common.nodemanager_1.0.0.0.jar:
5. Then go to <Domain_Home>/security and run as below.
java -cp /vino/fmw/product/1212_unifier/wlserver/server/lib/weblogic.jar:$CLASSPATH weblogic.security.utils.AdminAccount weblogic BAER#LS@gW1 .
6. Edit the boot.properties if it was there already/ create a one if it is new environment.
7. Start the Weblogic Server.
No comments:
Post a Comment