RC-00118: Error occurred during creation of database Raised by oracle.apps.ad.clone.ApplyDatabase
Error Occurred :–
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() –>
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oratest.tipl.com)(PORT=1532))(CONNECT_DATA=(SERVICE_NAME=TIR12.ticfg.com)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
getConnectionUsingServiceName() –>
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oratest.tipl.com)(PORT=1532))(CONNECT_DATA=(SERVICE_NAME=TIR12.ticfg.com)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
RC-00118: Error occurred during creation of database
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:595)
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:595)
Workaround Done :-
1. Modify the Contextfile ‘CTXORIG.xml’, whcih is created by the pre-cloning script, which is found under the Database $ORACLE_HOME/appsutil/clone/context/db directory :
ORIGINAL :
<DB_LISTENER oa_var=”s_db_listener” default=””><Name of the SOURCE DB listener></DB_LISTENER>
<DB_LISTENER oa_var=”s_db_listener” default=””><Name of the SOURCE DB listener></DB_LISTENER>
ACTION Taken:
UPDATE the file with the SID name of the TARGET Instance, e.g. TEST :
<DB_LISTENER oa_var=”s_db_listener” default=””><Name of the TARGET DB listener></DB_LISTENER>
execute ‘perl adcfgclone.pl dbTier <physical Path to the DB Tier Contextfile>
Or
You can restart the adcfgclone after making the required changes.
Comments
Post a Comment