O'Reilly logo

Oracle WebLogic Server 12c Advanced Administration Cookbook by Dalton Iwazaki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Recovering the WebLogic admin password

The WebLogic Administrator username and password are used to start up the WebLogic Server instances. They are stored encrypted in the boot.properties file.

This recipe will provide the steps to recover the username and password from the boot.properties file of the PROD_DOMAIN domain.

Getting ready

The recovery will use WLST to decrypt the boot.properties file.

How to do it...

Carry out the following steps to recover the WebLogic Admin password:

  1. Log in as the wls user to shell and set the domain environment variables for the domain you want to recover:
    [wls@prod01]$ cd $DOMAIN_HOME/bin
    [wls@prod01]$ . ./setDomainEnv.sh
  2. Start WLST:
    [wls@prod01]$ $WL_HOME/common/bin/wlst.sh
  3. Run the following WLST commands to display the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required