Database add node on EBS R12.2 fails RC-5004

Scaling of Database Instance for Oracle EBS R12.2 failing with the below listed Error:

StackTrace:
java.lang.NullPointerException
        at oracle.apps.ad.context.CloneContext.preserveOldPortSettings(CloneContext.java:5527)
        at oracle.apps.ad.context.CloneContext.promptForPortPool(CloneContext.java:5716)
        at oracle.apps.ad.context.CloneContext.getInputDBRACInitial(CloneContext.java:3389)
        at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:2226)
        at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:959)
        at oracle.apps.ad.context.CloneContext.main(CloneContext.java:8059)

RC-50208: Warning: Exception  in method preserveOldPortSettings
Raised by oracle.apps.ad.context.CloneContext
Started testing the availabilty of ports in port pool 6

 Checking  Database Port on dc2prpntidb01:  Port Value = 1527
   Database Port available:  Port Value = 1527
 Checking  DB ONS Local Port on dc2prpntidb01:  Port Value = 6306
   DB ONS Local Port available:  Port Value = 6306
 Checking  DB ONS Remote Port on dc2prpntidb01:  Port Value = 6406
   DB ONS Remote Port available:  Port Value = 6406


StackTrace:
java.lang.NullPointerException
        at oracle.apps.ad.context.CloneContext.promptForPortPool(CloneContext.java:5911)
        at oracle.apps.ad.context.CloneContext.getInputDBRACInitial(CloneContext.java:3389)
        at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:2226)
        at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:959)
        at oracle.apps.ad.context.CloneContext.main(CloneContext.java:8059)

RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful

Issue and Solution:

The content of Pairsfile is not correct, so we must use the proper value in the context file.

s_undo_tablespace=APPS_UNDOTS2
s_dbClusterInst=2
s_db_oh=/oracle/dbhome/db/12.1.0.2

If any of the above mentioned value is not correct then creation of context file will fail.

Happy troubleshooting and thanks for reading :)

regards,
X A H E E R

Comments

Popular posts from this blog

Disable Firewall on Oracle Linux 8

Installation of Oracle Applications R12.1.1 on Linux and vmware

Enable Desktop on Oracle Solaris 11.4