After Replication, OC4J not coming up

Problem Description: We have two environment, Main production instance and Disaster Recovery instance. The environment has OAS and Oracle Access Manager Products installed in same serversOC4J service not coming up in DR nodes after DB replication from production to DR.

Cause: Actually we faced some issues in production nodes and we have replaced the old back, after we reset the IASpassowrd in production instance. The password will be stored in DB(encrypted format ) as well in ias.properties file. Whenever you try to bring the OC4J service, it will compare the IASpassword value in ias.properties file and in OID. If it not matches, OC4J service will not come up.

During Drill, we faced some issues in DR instance, our OC4J services unable to came up in node 2.

Problem: IASpassword is mismatch.

Workaround summary,

1.       Stop all the osinfra services.

2.       If osinfra services unable to bring down, please execute the following steps

ps –ef | grep opmn

Kill all the process

ps –ef | grep oid

Kill all the process

3.       login into oid and truncate the ods_process table.

[oracle-home/bin]$ export ORACLE_HOME=/u01apps/osinfra/

[oracle-home/bin]$ ./sqlplus “ods/oam@123@IDMPROD”

SQL*Plus: Release 10.1.0.5.0 – Production on Wed Aug 10 14:58:07 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 – 64bit Production

With the Partitioning, Real Application Clusters, OLAP, Data Mining

and Real Application Testing options

SQL> truncate table ods_process;

                        Table truncated.

SQL> commit ;

                        Commit complete.

SQL> exit

4.       Reset the password of orcladmin by using following command

[oracle-home/bin]$ ./resetiASpasswd.sh “cn=orcladmin” admin123 /u01apps/osinfra

5.       Now start the osinfra services and its came up smoothly.

About the Author sarath

An Oracle Identity and Access Management professional, having working on Oracle Access Manager Single Sign-On implementations, Installation/Configuration of Identity Server, Web Pass, Web Gate, Access Gate, Policy Manager, Access Server, Policy Domains, Authentication /Authorization schemes, Single Sign-On (single and multi-domain), OIM, OVD, OID, OAAM, OIF, High Availability/Failover/ SSL deployment.

Leave a Comment:

1 comments
DINESH says June 4, 2012

HI Sarath,

Thanks,Your posts are of great help for freshers like me.Looking forward to more posts from you.

Reply
Add Your Reply