Changing the oc4jadmin password for a Application Server

Log in to the server where oc4j is running

Locate the following configuration file in the Oracle home of the OC4J instance:


vi system-jazn-data.xml file and locate the following entry for the oc4jadmin

     <display-name>OC4J Administrator</display-name>
     <description>OC4J Administrator</description>

Replace the value of the <credentials> element with the new password. Be sure to include an exclamation point character (!) before the password.For example:


In this example, replace “welcome123” with the actual password you want to use. The exclamation point ensures that the password will be encrypted in the configuration file.

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

Restart the OC4J instance.For example, use the following Oracle Process Manager and Notification Server (OPMN) commands to stop and then start the Oracle Application Server instance:

ORACLE_HOME/opmn/bin/opmnctl stopall
ORACLE_HOME/opmn/bin/opmnctl startall

After the restart, the Application Server Control will use your new Administrator(oc4jadmin) password, which will be stored in encrypted format within the system-jazn-data.xml file.
  • June 27, 2016 | 21 views
  • Comments