Get the latest in your Inbox for free.

  • Home
  • Contact Us
  •                         
  •                         
  •                         
  •                         
  •                         
  •                         

How to change the Weblogic Admin User password if you don't know the current password

+ Comment now
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.

  1. Shut down the Weblogic domain/instance
    {domain_home}/bin/stopWebLogic.sh
  2. Take the back up of the data directory
    mv {Domain_Home}/servers/{server name}/data {Domain_Home}/servers/{server name}/data.bak
  3. Execute setDomainEnv.sh
    cd {Domain_Home}/bin
    ./setDomainEnv.sh
  4. move to security directory
    cd {domain_home}/security
  5. Execute the following command (period "." at the end is required):
    java weblogic.security.utils.AdminAccount {admin user} {password} .
  6. Go to following directory:
    cd {domain_home}/servers/AdminServer/security
  7. 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.
  8. Start Weblogic Server (Weblogic Server will encrypt the password for you)
    {domain_home}/bin/startWebLogic.sh
  9. Do you enjoy this article? please help spread the word. And if you don't, then let me know how I can improve it.

1 comment:

  1. We 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.
    Albert Barkley @ Power Cords

    ReplyDelete

« Prev Next » Home