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 data source password

The same way that the WebLogic Administrator password is recoverable, the data source password can be retrieved as well.

In this recipe, the ds-nonXA data source with the JNDI name jdbc/non-XA will be used to retrieve the password.

Getting ready

The encrypted password must be retrieved from the JDBC configuration files in the $DOMAIN_HOME/config/jdbc directory. To decrypt the password, use WLST.

How to do it...

Carry out the following steps to recover the data source password:

  1. Log in as a wls user to shell and open the $DOMAIN_HOME/config/config.xml file to get the JDBC configuration filename.
    [wls@prod01]$ cd $DOMAIN_HOME/config
    [wls@prod01]$ vi config.xml
    
  2. Locate the <jdbc-system-resource> tag of the ds-nonXA data ...

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