Thursday, October 1, 2015

Reset the AdminServer password in WebLogic Server


Step 1: Setup environment variables.
[omss@ptud security]$ export MW_HOME=/home/omss/middleware
[omss@ptud security]$ export DOMAIN_HOME=/home/omss/middleware/user_projects/domains/oud_domain

Step 2: Shutdown the WebLogic domain
$DOMAIN_HOME/bin/stopWebLogic.sh

Step 3: Rename the data folder.
[omss@ptud security]$ mv $DOMAIN_HOME/servers/AdminServer/data/ $DOMAIN_HOME/servers/AdminServer/data-old

Step 4: Set environment
[omss@ptud security]$ .  $DOMAIN_HOME/bin/setDomainEnv.sh

Step 5: Reset the password
[omss@ptud oud_domain]$ cd $DOMAIN_HOME/security
 [omss@ptud security]$ java weblogic.security.utils.AdminAccount weblogic 12345678 .

Step 6: Update file boot.properties
[omss@ptud security]$ cd $DOMAIN_HOME/servers/AdminServer/security/
[omss@ptud security]$ vi boot.properties
#Thu Oct 01 10:56:21 ICT 2015
username=weblogic
password=12345678

Step 7: Start the WebLogic domain
$DOMAIN_HOME/bin/startWebLogic.sh


Share this

0 Comment to "Reset the AdminServer password in WebLogic Server"

Post a Comment