Disclaimer

These scripts come without warranty of any kind. Use them at your own risk. I assume no liability for the accuracy, correctness, completeness, or usefulness of any information provided by this site nor for any sort of damages using these scripts may cause.
Showing posts with label oc4j. Show all posts
Showing posts with label oc4j. Show all posts

Sunday, July 29, 2007

Changing OC4J Password in Oracle Application Server 10g R3

We have Oracle Application Server webCenter Suite(10.1.3.1) installed on Linux Platform. Today i was trying to change the password of oc4jadmin user as describedin the Oracle Documentation.



- I logged in to the EM console as o44jadmin user and clicked on the 'setup' link top of the console page.

- Clikcked the 'Password' link and entered old and new passwords in the text box provided.

- Clicked Apply button to save.


The password changed sucessfully message shown at the top of the page.


Now here goes the worst part! I am not able to open any of the OC4J instance on this server. When i try to open any of the OC4j instance i am getting the following error :

"Unable to make a connection to OC4J instance [OC4J instance name] on Application Server [AS instance name]. A common cause for this failure is an authentication error. The administrator password for each OC4J instance in the Cluster must be the same as the administrator password for the OC4J instance onwhich Application Server Control is running."


So you can not simply change the password of OC4jadmin. Following is the method how i did to change the password.


- Login to the EM console as oc4jadmin.

- Click on the OC4J instance

- Click on the Administration tab of the OC4J instance

- Click on the security providers on the table

- Click on the instance level security in security providers page

- click Realms on the instance level security page

- In the jazn.com row of the Results table, click the number (for example, 3) in the Users column

- Click oc4jadmin to modify the oc4jadmin user account.

- Enter the old and new passwords on the text boxes provided.

- Click apply to save changes.

Do this for all your OC4J instance. The password must be same across all OC4J instances.
Once you are done with OC4J instances, go to the cluster topology page and click on the setup link and change the password of oc4jadmin. This oc4jadmin password must be same as the password of the OC4J instances.