Though it is rare but it could happen that you may forget the Weblogic Admin user password. In such a case, you can use the following steps to reset the Weblogic Admin user password.
- Shut down the Weblogic domain/instance
{domain_home}/bin/stopWebLogic.sh
- Take the back up of the data directory
mv {Domain_Home}/servers/{server name}/data {Domain_Home}/servers/{server name}/data.bak
- Execute setDomainEnv.sh
cd {Domain_Home}/bin ./setDomainEnv.sh
- move to security directory
cd {domain_home}/security
- Execute the following command (period "." at the end is required):
java weblogic.security.utils.AdminAccount {admin user} {password} .
- Go to following directory:
cd {domain_home}/servers/AdminServer/security
- Edit the boot.properties file and update the new password (Applicable to all the servers in the domain). Type the password you just entered in human readble form. Weblogic will encrypt it.
- Start Weblogic Server (Weblogic Server will encrypt the password for you)
{domain_home}/bin/startWebLogic.sh
1 comments :
Write commentsWe can also change the website username and admin password through CPanel of the domain/hosting. Although it is tough and only we will have to change from MySQL panel but in this option we would not require to shut down the domain.
ReplyAlbert Barkley @ Power Cords
Emoticon Emoticon