Cause :
When i ran the adcfgclone.pl in R12 application tier i got the RC-50004: Fatal Error.
RC-50004: Fatal: Error occurred in ApplyAppsTier
RC-50004: Fatal: Error occurred in ApplyAppsTier
StackTrace -
java.lang.reflect.InvocationTargetException
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:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 more
ERROR while running Apply...
Fri Apr 26 09:10:48 2013
ERROR: Failed to execute /oracle2/TEST/apps/apps_st/comn/clone/bin/adclone.pl
Please check logfile.
java.lang.reflect.InvocationTargetException
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:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 more
ERROR while running Apply...
Fri Apr 26 09:10:48 2013
ERROR: Failed to execute /oracle2/TEST/apps/apps_st/comn/clone/bin/adclone.pl
Please check logfile.
Solution :
Check the 10.1.2 and 10.1.3 home entry in the oraInst.loc file and change the Production orainventry location to test orainventry location and try again to run the adcfgclone.pl script.
Step 1:
bash-cd /oracle2/TEST/apps/tech_st/10.1.3
bash-3.00$ cat oraInst.loc
inventory_loc=/oracle2/TEST/apps/tech_st/10.1.3/admin/oraInventory
change the oraInventory location in 10.1.3 home oraInst.loc file using the vi editor.
Step 2 :
bash- cd /oracle2/TEST/apps/tech_st/10.1.2
bash-3.00$ pwd
/oracle2/TEST/apps/tech_st/10.1.2
bash-3.00$ cat oraInst.loc
inventory_loc=/oracle2/TEST/apps/tech_st/10.1.2/admin/oraInventory
change the oraInventory location in 10.1.2 home oraInst.loc file using the vi editor.
Regards,
Vijay.