Monday 8 January 2018

Changing admin password of oracle weblogic server

Most of the times we use to forgot the admin passwords of weblogic server.
Here we will discuss how to change the weblogic password.
First shutdown your weblogic admin and managed server’s.
Set up the environment variables.
export MW_HOME=/u01/app/oracle/middleware
export DOMAIN_HOME=$MW_HOME/user_projects/domains/SOAdomain
Rename the Data folder.
$DOMAIN_HOME/servers/AdminServer/data
$DOMAIN_HOME/servers/AdminServer/olddata
Reset the password using the following command.
$ cd $DOMAIN_HOME/security
$ java weblogic.security.utils.AdminAccount <username> <newpassword>
Update the boot properties file withe new password.
$DOMAIN_HOME/servers/AdminServer/security/boot.properties
Start the WebLogic domain.
$DOMAIN_HOME/bin/startWebLogic.sh
Once the server started , login with your new password.

No comments:

Post a Comment