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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s