Hi,
Sometimes there is a possibility that you forget Weblogic server administrator password or you are in the environment where nobody knows the password.
In this post i will show the steps how to reset weblogic server administrator password
Cheers,
Zeeshan Baig
Sometimes there is a possibility that you forget Weblogic server administrator password or you are in the environment where nobody knows the password.
In this post i will show the steps how to reset weblogic server administrator 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 to do:
- 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
Cheers,
Zeeshan Baig
No comments:
Post a Comment