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

Last updated on DECEMBER 02, 2016

Applies to:

Oracle Fusion Middleware - Version: 10.1.2.3.0 to 10.1.4.3.0 - Release: AS10gR2 to AS10gR2
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.serwer-patch.zone00.winad.bosbank.pl_Reports_Server:rep_ias10_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 E:\ias10gR2\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 - E:\ias10gR2\jdk\bin\java -cp E:\ias10gR2\lib\xml.jar;E:\ias10gR2\chgip\jlib\filefixer.jar;E:\ias10gR2\lib\xmlparserv2.jar;E:\ias10gR2\lib\xschema.jar oracle.sysman.cloneutils.filefixer.FileFixer -package oracle.sysman.cloneutils.filefixer.oraxdk -targetScript "E:\ias10gR2\wireless\cloning\wireless_opmn_cloning.xml"
java.io.FileNotFoundException: E:\ias10gR2\wireless\cloning\wireless_opmn_cloning.xml (Nie mo¿na odnaleŸæ okreœlonego pliku)
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=e:\IAS10gR2 ORACLE_HOME_NAME=IAS10gR2 -instance iasclone

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms