Possible Applicable Scenarios for changing the Admin user & Password :
Unable to Login Console with existing user/password.
Admin LDAP got Corrupted & no back up available .
Admin Server not starting with the given credentials and server reporting invalid credentials error or LDAP corruption error.
Procedure :
1. From a DOS or UNIX prompt cd to the WebLogic domain directory and run setEnv.cmd/setEnv.sh to set the classpath.
2. Backup the DefaultAuthenticatorInit.ldift file from the domain directoy in a separate location.(Outside Domain Directory.)
3. Execute the command in the domain directory of application à java weblogic.security.utils.AdminAccount
Eg; $app/bea/domains/wldomanins\PflitePrdDmn> java weblogic.security.utils.AdminAccount
4. Delete the DefaultAuthenticatormyrealmInit.initialized from LDAP folder
5. Restart Admin Server
6. Rename the Boot.properties file
7. Edit the setEnv.cmd/setEnv.sh file in the domain directory with the following info
WLS_USER=
WLS_PW=
8. Restart Admin Server
9. Edit the boot.properties file with the new username & password
username=adminuser
password=weblogic
10. Restart the admin server . Now the domain can be accessed with new user & password.
Wednesday, March 5, 2008
How to change AdminUser & Password
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment