My Oracle Support Banner

Building OSM 7.0.3 Cartridge In Design Studio Fails To Include Reference To Query Task In Model XML (Doc ID 1371356.1)

Last updated on JUNE 27, 2018

Applies to:

Oracle Communications Design Studio - Version: 3.1.3 and later   [Release: 3.1.0 and later ]
Information in this document applies to any platform.

Symptoms

Deploying the model in Design Studio results in the following error:


Mon Sep 12 15:28:40 CDT 2011 Deploy failed for cartridge PoC:
<12-Sep-2011 3:28:37,097 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Importing from API caller into OMS schema v7.0.3.0.506 at database [jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=customer.com)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=osm7dev)(INSTANCE_NAME=osm7dev)))]>
<12-Sep-2011 3:28:37,100 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Model version: 7.0.0>
<12-Sep-2011 3:28:37,106 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Scanning for entities...>
<12-Sep-2011 3:28:37,107 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Disabling database jobs - RUNNING>
<12-Sep-2011 3:28:39,111 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Disabling database jobs - COMPLETE>
<12-Sep-2011 3:28:39,112 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Processing 49 entities...>
<12-Sep-2011 3:28:39,125 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Import 2% complete (1 entities processed: 0 changed, 1 unchanged)>
<12-Sep-2011 3:28:39,132 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Import 6% complete (3 entities processed: 1 changed, 2 unchanged)>
<12-Sep-2011 3:28:39,132 CDT PM> <INFO> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Import 10% complete (5 entities processed: 1 changed, 4 unchanged)>
…………………..
…………………..
<12-Sep-2011 3:28:39,405 CDT PM> <ERROR> <cartridgemgmt.DeployCartridgeMDB> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <Cartridge deployment failed:>
com.mslv.oms.metadatahandler.operation.MetadataException: There is no entity found in document for: null matching the key PoCQueryTask not found; error code: 114
at com.mslv.oms.metadatahandler.operation.ImportOperation.handleSequenceException(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
The reason for the above error is the final cartridge PoC.xml produced during the build in \workspace\PoC\cartridgeBuild\model folder somehow fails to include a reference to PoCQueryTask files. Below are all the entities that got included in the model except PoCQueryTask(although it is being referred to by PoCOrder in \workspace\PoC\cartridgeBuild\model\order\PoCOrder.xml file.
<xi:include href="task/PocManualTask2.xml"/>
<xi:include href="task/PocManualTask2_view.xml"/>
<xi:include href="task/PoCManualTask1.xml"/>
<xi:include href="task/PoCManualTask1_view.xml"/>
<xi:include href="task/PoCAutomatedTask.xml"/>
<xi:include href="task/PoCAutomatedTask_view.xml"/>
<xi:include href="task/PoCCustomAutomatedTask.xml"/>
<xi:include href="task/PoCCustomAutomatedTask_view.xml"/>
<xi:include href="task/PoCManualTask3.xml"/>
<xi:include href="task/PoCManualTask3_view.xml"/>

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!


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