Introduction
Steps to change oc4jadmin password for Application Server
Posted by Karthick
Locate the following configuration file in the Oracle home of the OC4J instance: vi ORACLE_HOME/oc4j_instance_name/j2ee/home/config/system-jazn-data.xml
Edit the system-jazn-data.xml file and locate the following entry for the oc4jadminuser:
<user>
<name>oc4jadmin</name>
<display-name>OC4J Administrator</display-name>
<guid>41A2E560C96711DABFD08D3BF8B780C4</guid>description>OC4J Administrator</description><credentials>{903}4nlfYYDwaqMJipVbGXuS2ce8egfwBPqp</credentials>
</user>
Replace the value of the <credentials> element with the new password. Be sure to include an exclamation point character (!) before the password.For example:
<credentials>!welcome123</credentials>
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.
Now we can login through a application console with a new password of oc4jadmin.