Tuesday, April 5, 2016

How to Reset Weblogic Server Administrator Password

How to Reset Weblogic Server Administrator Password

Sometimes there is a possibility that you forgot Weblogic server administrator password or you are in the environment where nobody knows the password.

What you need:

-Access to the server where weblogic is installed.
-Location where weblogic domain is created default is <fmw-home>/user_projects/domains/<domain-home>

Steps:

-Stop the AdminServer including all managed servers.
-Rename the LDAP folder of AdminServer and other managed servers. Location would be like <WLS_DOMAIN>/servers/<server-name>/data/ldap
-Run the setDomainEnv.sh or .cmd command to setup the environment i.e. <wls-domain>/bin/
-Go to security directory in the domain i.e. <domain-home>/security
-Run the following command (Make sure include DOT at the end)  java weblogic.security.utils.AdminAccount weblogic welcome1 .
-Delete the 'DefaultAuthenticatormyrealmInit.initialized' file from ldap folder in the AdminServer <domain-home>/servers/AdminServer/data/ldap
-edit the boot.properties file in <domain-name>/servers/<server-name>/security for all managed servers with your new password
-Start the weblogic server

No comments:

Post a Comment