Friday, July 26, 2013

Reset OC4J Password

Retset  OC4J instance password
1.      Log into the Application Sever
2.      CD E:\oracle\ora10gASR3\j2ee\instance_name\config
3.      Edit system-jazn-data.xml with text editor

Locate OC4Jadmin and update credentials line

  <name>oc4jadmin</name>
  <display-name>OC4J Administrator</display-name>
  <guid>625FCC40BD5811DDBFD58391AB1EFB4C</guid>
  <description>OC4J Administrator</description>                                                                           
<credentials>{903}twsacWylQXKUDa42787BEBCEEcAnFuWy2NmHarVEBHM=</credentials>

With new password

</credentials>!new_password_321</credentials>

- The exclamation point ensures that the password will be encrypted in the configuration file.

  1. Save your changes and exit the system-jazn-data.xml file

5.       Restart the instance
$ORACLE_HOME/opmn/bin/opmnctl shutdown
$ORACLE_HOME/opmn/bin/opmnctl startall

OR

Restart the instance separately  

$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=home
$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=oc4j_soa
$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server

No comments:

Post a Comment