Thursday, February 16, 2012

Reset oc4jadmin password in oas10g 10.1.3.0.1

. Stop the home instance: opmnctl stopproc process-type=home


2. Edit j2ee/home/config/system-jazn-data.xml (make a backup copy first).


3. Find the oc4j admin tab, and where the obfuscated password is, enclosed by the and tabs, delete it and enter your new password,

which must be prefixed with an exclamation mark (!) e.g. !Manager1 (rules are : > 5 chars, must have at least one number).

4. Delete the contents of the $ORACLE_HOME\j2ee\home\persistence\ascontrol\ascontrol\securestore directory (there will typically be 2 files in here).


5. Restart the home instance, and test to see if you can now login to host:port/em.


6. Open the system-jazn-data.xml file and check that the startup has re-encoded the password you entered.

No comments:

Post a Comment