Today one of our client has forgot his Application Server Console password. We have used following method to reset his password.
Please Note : This method also work on following
- Oracle Fusion Middleware Version 9.0.4.0.0 to 10.1.3.5.0
- Enterprise Manager Base Platform Version 10.1.0.2 to 10.2.0.5
- Enterprise Manager for Fusion Middleware Version 9.0.4.0.0 to 10.1.3.5.0
Step 1 First shutdown the application server control by running emctl command
For 10.1.2
$ORACLE_HOME/bin/emctl stop iasconsole
On 10.1.3 you need to stop the OC4J instances before performing the password change:
$ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=OC4J
Step 2 Locate and backup the jazn-data.xml (10.1.2) or system-jazn-data.xml (10.1.3) file:
On 10.1.2 File Location would be
$ORACLE_HOME/sysman/j2ee/config/jazn-data.xml
On 10.1.3 File Location would be
$ORACLE_HOME/j2ee/home/config/system-jazn-data.xml
Step 3 Edit the jazn-data.xml / system-jazn-data.xml file depending on the Application Server version in a text editor and locate the line that defines the credentials property for the ias_admin user:
On 10.1.2
The following example shows the section of jazn-data.xml with the encrypted credentials entry in boldface type:
<realm>
<name>enterprise-manager</name>
<users>
<user>
<name>ias_admin</name>
<credentials>rJqp85BkhFwAyw9ddl0PnFlUBVaWzbfT</credentials>
</user>
On 10.1.3
The following example shows the section of system-jazn-data.xml with the encrypted credentials entry in boldface type:
<realm>
<name>jazn.com</name>
<users>
<user>
<name>oc4jadmin</name>
<display-name>OC4J Administrator</display-name>
<description>OC4J Administrator</description>
<credentials>{903}4L50lHJWIFGwLgHXTub7eYK9e0AnWLUH</credentials>
</user>
Step 4 Replace the existing encrypted password with the new password
Be sure to prefix the password with an exclamation point (!). For example:
!mynewpassword123
Step 5 Start the Application Server Console:
For 10.1.2 do following
$ORACLE_HOME/bin/emctl start iasconsole
After the restart, the Application Server Control will be using your new Administrator (ias_admin) password, which will be stored in encrypted format within the jazn-data.xml file.
For 10.1.3 do following
$ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=OC4J
After the restart, the Application Server Control will be using your new Administrator (oc4jadmin) password, which will be stored in encrypted format within the system-jazn-data.xml file.
Step 6 Login to the Application Server Console and authenticate with the ias_admin user (10.1.2) or the oc4jadmin user (10.1.3) and the new password.