Databases Reference
In-Depth Information
See also
F Recovering a data source password
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 source and get
the descriptor filename.
<jdbc-system-resource>
<name>ds-nonXA</name>
<target></target>
<descriptor-file-name>jdbc/ds-nonXA-jdbc.xml</descriptor-
file-name>
</jdbc-system-resource>
3. Open the JDBC file:
[wls@prod01]$ vi jdbc/ds-nonXA-jdbc.xml
4. Locate the <password-encrypted> tag and copy the password.
<password-encrypted>{AES}PASSWORD_ENCRYPTED</password-
encrypted>
 
Search WWH ::




Custom Search