EM12c: Template Collection Synchronization Job Fails with Error: Database Instance Failed ApplyTemplateAMImpl: applyTemplate :: Master Template Sync Operation Failed (Doc ID 1921380.1)

Last updated on AUGUST 01, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.3.0 and later
Information in this document applies to any platform.

Symptoms

Template Collection Sync job in EM 12c Cloud Control fails on a few database targets with the following console message:

test.us.oracle..com_test1 Database Instance Failed ApplyTemplateAMImpl: applyTemplate :: Master Template Sync Operation Failed.



The .../gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc file shows shows the following errors during the sync operation:

2014-08-20 13:43:31,464 [RemoteJobWorker 4686722] ERROR applicationModule.ApplyTemplateAMImpl logp.251 - [EM-02902] Execution of Apply Template Operation has Failed
oracle.sysman.emSDK.agent.client.exception.NoSuchTargetException: the oracle_database target "test.us.oracle..com_test1" does not exist
(see agent logs for stack trace details)
2014-08-20 13:43:31,467 [RemoteJobWorker 4686725] ERROR applicationModule.ApplyTemplateAMImpl logp.251 - [EM-02902] Execution of Apply Template Operation has Failed
oracle.sysman.emSDK.agent.client.exception.NoSuchTargetException: the oracle_database target "test.us.oracle..com_test2" does not exist
(see agent logs for stack trace details)

2014-08-19 08:36:15,957 [RemoteJobWorker 4610744] ERROR applicationModule.ApplyTemplateAMImpl logp.251 - [EM-02902] Execution of Apply Template Operation has Failed
oracle.sysman.emSDK.core.mext.model.util.MextDeployException: JBO-AGENT_ERROR: Caught TMCommException while attaching to target
at oracle.sysman.sdkImpl.core.mext.model.view.EmMextVersionsVORowImpl.attachMextToTarget(EmMextVersionsVORowImpl.java:1660)
at oracle.sysman.emSDK.core.mext.model.applicationModule.MextAMImpl.attachMextToTarget(MextAMImpl.java:1563)
at oracle.sysman.emSDK.core.mext.model.applicationModule.MextAMImpl.attachMextToTarget(MextAMImpl.java:1676)
at oracle.sysman.emSDK.core.mext.model.applicationModule.MextAMImpl.attachMextToTarget(MextAMImpl.java:1591)
at oracle.sysman.emSDK.core.mext.model.applicationModule.MextAMImpl.applyMextAssocsToTarget(MextAMImpl.java:2958)
at oracle.sysman.core.templ.uimodel.applicationModule.ApplyTemplateAMImpl.deployMextAssocsToTarget(ApplyTemplateAMImpl.java:1434)
at oracle.sysman.core.templ.uimodel.applicationModule.ApplyTemplateAMImpl.applyTemplate(ApplyTemplateAMImpl.java:400)
at oracle.sysman.eml.metrics.template.PropagateMetricsData.applyTemplate(PropagateMetricsData.java:1632)
at oracle.sysman.emdrep.target.PropagateTargetData.propagateTargetData(PropagateTargetData.java:542)
at oracle.sysman.emdrep.target.PropagateTargetData.executeCommand(PropagateTargetData.java:756)

 

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