Wednesday, February 24, 2016

Weblogic Server : Reset Weblogic user password

In case if we have lost the weblogic user password which is very crucial for any weblogic server Administration ,because we will not be able to perform any kind of activity on the application using Administration Console. When it comes to OBIEE the effect is even more as we can't even login to Enterprise manager and also Analytics to perform Admin activities if Weblogic is the only user we have.

Below steps will help you reset you weblogic password 

Step 1:

Go to <Domain_Home>/bin and execute

 ./setDomainEnv.sh

Step 2:

Change Directory "cd" to the /security/ directory:
Run: cd lt;Domain_Home>/security

Reset the password in a new file DefaultAuthenticatorInit.ldift after taking a backup of the file.
Run: java weblogic.security.utils.AdminAccount weblogic hello .

Don’t forget the period “ .” at the end of the above command, it is required.
This example is setting the weblogic user to have the password "hello"