Weblogic Admin password
This procedure specifies how to reset the Weblogic Admin password:
Where MW_HOME - BEA HOME
1. Shutdown your weblogic instance if its running, using the command:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ ./stopWebLogic.sh
2. Set your environment variables using setDomainEnv.sh:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ . ./setDomainEnv.sh
3.Run the following commands:
$ cd MW_HOME/user_projects/domains/base_domain/security
$ java weblogic.security.utils.AdminAccount adminuser1 welcome1 .
4. Delete file from "ldap" folder:
$ cd MW_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap
$ rm DefaultAuthenticatormyrealmInit.initialized
5. Startup weblogic server using the newly created "adminuser1" account.
$ cd /scratch/aime1/work1/mwps1/user_projects/domains/base_domain/bin
$ ./startWebLogic.sh
Enter username to boot WebLogic server: adminuser1
Enter password to boot WebLogic server:
6. Logon to /console with the new administrative user - "adminuser1" (and not "weblogic")
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ ./stopWebLogic.sh
2. Set your environment variables using setDomainEnv.sh:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ . ./setDomainEnv.sh
3.Run the following commands:
$ cd MW_HOME/user_projects/domains/base_domain/security
$ java weblogic.security.utils.AdminAccount adminuser1 welcome1 .
4. Delete file from "ldap" folder:
$ cd MW_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap
$ rm DefaultAuthenticatormyrealmInit.initialized
5. Startup weblogic server using the newly created "adminuser1" account.
$ cd /scratch/aime1/work1/mwps1/user_projects/domains/base_domain/bin
$ ./startWebLogic.sh
Enter username to boot WebLogic server: adminuser1
Enter password to boot WebLogic server:
6. Logon to /console with the new administrative user - "adminuser1" (and not "weblogic")
7. Under 'Security Realms', you can see two admin users 'adminuser1' and 'weblogic', go ahead and change the password for user 'weblogic'.
How to find Weblogic Version and Service version supported
prompt $: java -cp C:\bea\weblogic92\server\lib\weblogic.jar weblogic.version -verbose
Tested environment : Solaris, Windows XP - Weblogic Server 10.3
Comments
Post a Comment