Friday, September 12, 2014

OC4J Password Reset

1. Shut down the Application Server Console
$ORACLE_HOME/bin/emctl stop iasconsole

You need to stop the OC4J instances before performing the password change:


$ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=OC4J

2.Locate and backup the system-jazn-data.xml (10.1.3) file:

$ORACLE_HOME/j2ee/home/config/system-jazn-data.xml

3. Edit the system-jazn-data.xml file in a text editor and
locate the line that defines the credentials property for the ias_admin user:

 Replace the existing encrypted password with the new password.
Be sure to prefix the password with an exclamation point (!). For example:


Ex:                             <name>oc4jadmin</name>
                                <display-name>OC4J Administrator</display-name>
                                <guid>C70BD6109B3111E19F769F511903AE79</guid>
                                <description>OC4J Administrator</description>
                                <credentials>{903}YVtqGjfAaDWCitUeUkz7lFxC21KowukG</credentials>



change the password in <credentials> column like below and save it.
<credentials>!mynewpassword123</credentials>


4.Delete cached password data by deleting the contents of the following directory:

Do not delete the Directory,just delete the contents of the securestore Directory.

$ORACLE_HOME/j2ee/home/persistence/ascontrol/ascontrol/securestore

5. Start the Application Server Console:


$ORACLE_HOME/bin/emctl start iasconsole

$ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=OC4J

No comments:

Post a Comment