Wednesday, June 15, 2011

Resetting the Administrator (oc4jadmin) Password

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com

Problem: Forgot OC4JADMIN password:

If you are maintaining Oracle Application Server 10g Release 3 (10g AS R3)  and you wish to reset OC4JADMIN password , here what you have to do:

1. oc4jadmin is  created during installation and the default password is (secure)

2. This password is stored in encrypted format in file $ORACLE_HOME/j2ee/home/config/system-jazn-data.xml


3.Stop OC4J and the Application Server Control.
Enter the following command in the Oracle home of the application server instance:
(UNIX) ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=OC4J 
4. Locate and open the following file in a text editor:Locate the line that defines the credentials property for the oc4jadmin user. 

<user>
<name>oc4jadmin</name>
<display-name>OC4J Administrator</display-name>
<description>OC4J Administrator</description>
<credentials>{903}4L50lHJWIFGwLgHXTub7eYK9e0AnWLUH</credentials>
</user>
Replace the existing encrypted password with the new password.
Be sure to prefix the password with an exclamation point (!). For example:

5. 
Delete cached password data by deleting the contents of the following directory:
ORACLE_HOME/j2ee/oc4jinstance/persistence/ascontrol/ascontrol/securestore/
6.
Start OC4J and the Application Server Control.
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.

<credentials>!mynewpassword123</credentials>

(UNIX)ORACLE_HOME/j2ee/home/config/system-jazn-data.xml
    
Get Oracle Certifications for all Exams
Free Online Exams.com

No comments: