Pages

Monday, September 23, 2013

Weblogic : Admin Password Reset

There are many cases where we need to reset the admin password for web logic. Here is a Process of how we can reset the password for the web logic admin account.

1.Set up the Environment for the Web logic Domain

$ cd $MIDDLEWARE_HOME/user_projects/domains/{your_domain}/bin/
where your_domain is the domain_name for your Web logic domain

$ cd /root/Oracle/MiddleWare/user_projects/domains/base_domain/bin

Execute the setDomainEnv.sh script

. ./setDomainEnv.sh

2.Shut Down the Web logic Domain

3.Now change the User Name and Password in the Boot.properties.It is available at
/root/Oracle/MiddleWare/user_projects/domains/base_admin/servers/AdminServer/security

now open the boot.properties and change the user name and password values with plain test values

4.Now go the Domain Security Location which is
/root/Oracle/MiddleWare/user_projects/domains/base_domain/security
and change the name of the DefaultAuthenticatorInit.idift to DefaultAuthenticatorInit.idift.old
( This Step is optional it seems , try with out doing this but make sure you take a copy of the file)

5.Now create a New password like

java -cp /root/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:$CLASSPATH weblogic.security.utils.AdminAccount hello hello123 .

I am giving the user name as hello and password hello123.

Note : Dont forget dot (“.”) At the end else it will throw “In valid Arguments” error

6.Now Restart the Server and login the admin-console using the hello and hello123.

More to Come , Happy learning :-)