Export Procedure Gives: Could Not Locate Software Library Entity (Doc ID 2076609.1)

Last updated on MARCH 08, 2017

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.7.0 to 12.1.0.7.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Exporting either Custom Deployment Procedure, or, out-of-box DP of type "Provision Oracle Database" using "emctl partool export" result in the following errors:
...
...
Could not locate software library entity: ${ora:getEntityURN('DB Provisioning/11.2.0.1.0/all_platforms/RUN KFOD 11201')}, ${ora:not(${data.SKIP_PREREQUISITE_CHECKS})} )}
oracle.sysman.emSDK.swlib.UrnException: The URN '${ora:getEntityURN('DB Provisioning/11.2.0.1.0/all_platforms/RUN KFOD 11201')}, ${ora:not(${data.SKIP_PREREQUISITE_CHECKS})} )}' is not properly formatted
  at oracle.sysman.emSDK.swlib.ProvisioningUrn.getUrnFromString(ProvisioningUrn.java:127)
  at oracle.sysman.emSDK.swlib.ProvisioningUrn.fromString(ProvisioningUrn.java:72)
  at oracle.sysman.emSDK.swlib.URN.fromString(URN.java:121)
  at oracle.sysman.emdrep.jobs.procedure.par.PARFile.extractEntities(PARFile.java:1101)
  at oracle.sysman.emdrep.jobs.procedure.par.PARFile.extractEntitiesAndReplaceURNs(PARFile.java:904)
  at oracle.sysman.emdrep.jobs.procedure.par.PARFile.exportProcedures(PARFile.java:625)
  at oracle.sysman.emdrep.jobs.procedure.par.PARFile.export(PARFile.java:432)
  at oracle.sysman.emdrep.jobs.procedure.par.Main.exportPar(Main.java:610)
  at oracle.sysman.emdrep.jobs.procedure.par.Main.main(Main.java:424)
Caused by: oracle.sysman.emSDK.swlib.UrnException: Expected '6' fields, but received instead '3' fields
  at oracle.sysman.emSDK.swlib.URN.getUrnTypeId(URN.java:245)
  at oracle.sysman.emSDK.swlib.ProvisioningUrn.getUrnFromString(ProvisioningUrn.java:120)
...
...
Oracle Enterprise Manager 12.1.0.4 Cloud Control with db plugin 12.1.0.7 on Red Hat Enterprise 6 (x86-64).

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