Change Weblogic Admin password in 11g

We can reset Weblogic Admin Password by following below steps.

1.  Export Variables.

export MW_HOME=/u01/app/oracle/Middleware
export DOMAIN_HOME=$MW_HOME/user_projects/domains/IDMDomain

2.  Stop Weblogic Admin Server

$DOMAIN_HOME/bin/stopWebLogic.sh

3. Rename the data folder

mv $DOMAIN_HOME/servers/AdminServer/data $DOMAIN_HOME/servers/AdminServer/data-old

4.  Set the environment variables.

$DOMAIN_HOME/bin/setDomainEnv.sh

5.  Reset the Password

cd $DOMAIN_HOME/security

$ java weblogic.security.utils.AdminAccount <username> <password> .

6.  Recreate the boot.properties file with the new username and password.

$DOMAIN_HOME/servers/AdminServer/security/boot.properties

username=<username>
password=<password>
Start the WebLogic domain.

7.  Stat the Weblogic Admin Server

$DOMAIN_HOME/bin/startWebLogic.sh

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."