My Oracle Support Banner

Cloning OAS 10.1.2 Fails - " Error while updating file : targets.xml " / " EM integration failed " (Doc ID 471111.1)

Last updated on FEBRUARY 26, 2020

Applies to:

Oracle Fusion Middleware - Version 10.1.2.3.0 to 10.1.4.3.0 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.
Checked for relevance on 15-Jun-2009


Symptoms

The problem can happen if Oracle Application Server 10g and Central Agent of Enterprise Manager Grid Control is installed in the same box.   

When trying the clone, it fails during the EM integration phase. The clone log file contains the following errors:

[Wed Dec 5 14:52:22 2007 INFO] Starting EM integration
[Wed Dec 5 14:52:23 2007 INFO] Deleting target:iasclone.<HOST>.<DOMAIN>.pl_Reports_Server:<INSTANCE_NAME>_ias10gR2
[Wed Dec 5 14:52:23 2007 INFO] 0 [main] WARN emSDK.config - Warning: could not find:emtgtctl.bat
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteSingleTargetFromCentralHomePriv(TargetInstaller.java:5043)
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteTargetFromCentralHomes(TargetInstaller.java:1557)
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteTargetInt(TargetInstaller.java:2200)
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteTarget(TargetInstaller.java:2103)
[Wed Dec 5 14:52:23 2007 INFO] oracle.ias.reports.config.ReportsConfigHelper.deleteTarget(Unknown Source)
[Wed Dec 5 14:52:23 2007 INFO] oracle.ias.reports.config.ReportsConfigHelper.startConfiguration(Unknown Source)
[Wed Dec 5 14:52:23 2007 INFO] oracle.ias.reports.config.ReportsConfig.main(Unknown Source)
[Wed Dec 5 14:52:23 2007 INFO] Error while updating file : targets.xml
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteSingleTargetFromCentralHomePriv(TargetInstaller.java:5043)
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteTargetFromCentralHomes(TargetInstaller.java:1557)
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteTargetInt(TargetInstaller.java:2200)
[Wed Dec 5 14:52:23 2007 INFO] oracle.sysman.emSDK.conf.TargetInstaller.deleteTarget(TargetInstaller.java:2103)
[Wed Dec 5 14:52:23 2007 INFO] oracle.ias.reports.config.ReportsConfigHelper.deleteTarget(Unknown Source)
[Wed Dec 5 14:52:23 2007 INFO] oracle.ias.reports.config.ReportsConfigHelper.startConfiguration(Unknown Source)
[Wed Dec 5 14:52:23 2007 INFO] oracle.ias.reports.config.ReportsConfig.main(Unknown Source)
[Wed Dec 5 14:52:23 2007 INFO] EM integration failed
[Wed Dec 5 14:52:23 2007 INFO] Reports configuration ended at: Wed Dec 05 14:52:23 CET 2007
[Wed Dec 5 14:52:23 2007 INFO] Reports Configuration failed
[Wed Dec 5 14:52:23 2007 ERROR] ERROR
[Wed Dec 5 14:52:23 2007 INFO]
_________ ABORTING CLONE OPERATION ________

[Wed Dec 5 14:52:23 2007 INFO] An error has occured. Aborting the clone operation.
[Wed Dec 5 14:52:23 2007 INFO] Please refer to the error log file $ORACLE_HOME\clone\logs\error1196862378.log for details.
[Wed Dec 5 14:52:23 2007 INFO]


In $ORACLE_HOME/clone/logs/error1196862378.log the following error is logged:

Wed Dec 5 14:50:50 2007 ERROR] Executing command - $ORACLE_HOME\jdk\bin\java -cp $ORACLE_HOME\lib\xml.jar;$ORACLE_HOME\chgip\jlib\filefixer.jar;$ORACLE_HOME\lib\xmlparserv2.jar;$ORACLE_HOME\lib\xschema.jar oracle.sysman.cloneutils.filefixer.FileFixer -package oracle.sysman.cloneutils.filefixer.oraxdk -targetScript "$ORACLE_HOME\wireless\cloning\wireless_opmn_cloning.xml"
java.io.FileNotFoundException: $ORACLE_HOME\wireless\cloning\wireless_opmn_cloning.xml (no such file)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.sysman.cloneutils.filefixer.Script.scanner(FileFixer.java:518)
at oracle.sysman.cloneutils.filefixer.FileFixer.main(FileFixer.java:329)
Exception in thread "main"
[Wed Dec 5 14:51:48 2007 ERROR] Executing command - emctl.bat secure em
Certificate was added to keystore
Certificate reply was installed in keystore


-- Steps To Reproduce:

perl clone.pl ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=IAS10gR2 -instance iasclone

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.