OSM Unable To Process The Response Getting From The ASAP Through An Activation TASK (Doc ID 1543356.1)

Last updated on MARCH 13, 2017

Applies to:

Oracle Communications Order and Service Management - Version 7.2.0 and later
Information in this document applies to any platform.
**** Currency checked on 4-Mar-2015 ********
**** Currency checked on 13-Mar-2017 ********

Symptoms

Installed 7.2.0 of OSM version with build no 1518. Created sample cartridge which includes one manual task and one Activation task and deployed in the WebLogic.

ISSUE: Activation Task is not getting completed stuck at Accepted only.

But we are able to receive response from the ASAP, and able to check in the OSM weblogic response queue.

ERROR
-----------------------
<Exe
uteThread: '14' for queue: 'oms.automation'> on/plugin/external/saf_test_asap/1.0.0.0.0/activation_task_asap_2.saf_test_asap
1.0.0.0.0.GetOrderByKeyResponse_orderCompleteEvent] due to null>
com.mslv.oms.automation.AutomationException
  at oracle.communications.ordermanagement.automation.plugin.AbstractExte
nalReceiverDispatcher.processMessage(Unknown Source)
  at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown
ource)
  at oracle.communications.ordermanagement.cluster.message.e.a(Unknown So
rce)
  at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unkno
n Source)
  at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unkno
n Source)
  at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Sourc
)
  at oracle.communications.ordermanagement.cluster.message.ClusterMessage
andlerBean.onMessage(Unknown Source)
  at com.mslv.oms.security.base.ControllerBean.processExternalListenerAut
mationMessage(Unknown Source)
  at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl.__WL_invoke(U
known Source)
  at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(Se
sionRemoteMethodInvoker.java:40)
  at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl.processExtern
lListenerAutomationMessage(Unknown Source)
  at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl_WLSkel.invoke
Unknown Source)
  at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:1
4)
  at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
  at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl_1035_WLStub.p
ocessExternalListenerAutomationMessage(Unknown Source)
  at oracle.communications.ordermanagement.automation.plugin.AbstractExte
nalReceiverDispatcher.processMessage(Unknown Source)
  at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown
ource)
  at com.mslv.oms.automation.plugin.AutomationDispatcherImpl.a(Unknown So
rce)
  at com.mslv.oms.automation.plugin.m.a(Unknown Source)
  at oracle.communications.ordermanagement.cluster.message.ClusterMessage
andlerBean.onMessage(Unknown Source)
  at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:5
4)
  at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MD
istener.java:477)
  at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java
379)
  at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
  at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
  at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
  at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
  at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:51
0)
  at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.ja
a:21)
  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused by: java.lang.NullPointerException
  at oracle.communications.ordermanagement.automation.plugin.AbstractScri
tPluginImplementation.transform(Unknown Source)
  at oracle.communications.ordermanagement.automation.plugin.AbstractScri
tPluginImplementation.runCommonFunctionality(Unknown Source)
  at oracle.communications.ordermanagement.automation.plugin.ScriptRunner
mpl.runScript(Unknown Source)
  at oracle.communications.ordermanagement.automation.plugin.AbstractScri
tSendAutomator.run(Unknown Source)
  at oracle.communications.ordermanagement.automation.plugin.AbstractScri
tSendAutomator.run(Unknown Source)
  at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unkno
n Source)
  at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
  ... 31 more
SystemId Unknown; Line #98; Column #39; Found ',' but no preceding argument!


Message in Response Queue from ASAP :
=============================

 

<?xml version="1.0" encoding="UTF-8"?>
<sa:getOrderByKeyResponse
  xmlns:co="http://java.sun.com/products/oss/xml/Common"
  xmlns:mslv-sa="http://www.metasolv.com/oss/ServiceActivation/2003"
  xmlns:sa="http://java.sun.com/products/oss/xml/ServiceActivation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <sa:orderValue xsi:type="mslv-sa:ASAPOrderValue">
      <co:lastUpdateVersionNumber>1364345518000</co:lastUpdateVersionNumber>
      <sa:actualCompletionDate>2013-03-26T20:51:58</sa:actualCompletionDate>
      <sa:apiClientId>activation_task_asap_2-saf_test_asap-1.0.0.0.0</sa:apiClientId>
      <sa:description/>
      <sa:orderDate>2013-03-26T20:51:58</sa:orderDate>
      <sa:orderKey>
          <co:applicationContext>
              <co:factoryClass/>
              <co:url/>
              <co:systemProperties/>
          </co:applicationContext>
          <co:applicationDN>System/SF05/ApplicationType/ServiceActivation/Application/1-0;7-2;ASAP/Comp/</co:applicationDN>
          <co:type>javax.oss.order.CreateOrderValue</co:type>
          <sa:primaryKey>7:304</sa:primaryKey>
      </sa:orderKey>
      <sa:priority>4</sa:priority>
      <sa:requestedCompletionDate>2009-12-01T12:00:00</sa:requestedCompletionDate>
      <sa:services>
          <sa:item xsi:type="mslv-sa:ASAPService">
              <co:lastUpdateVersionNumber>1364345518000</co:lastUpdateVersionNumber>
              <sa:serviceKey xsi:type="mslv-sa:ASAPServiceKey">
                  <co:applicationDN/>
                  <co:type>C-ADD_POTS_LINE</co:type>
                  <sa:primaryKey>C-ADD_POTS_LINE</sa:primaryKey>
                  <mslv-sa:serviceSequenceNumber>5</mslv-sa:serviceSequenceNumber>
              </sa:serviceKey>
              <sa:serviceState xsi:type="sa:ServiceStateType">active.completed</sa:serviceState>
              <mslv-sa:description>Add a POTS line</mslv-sa:description>
              <mslv-sa:provisioningSequenceNumber>5</mslv-sa:provisioningSequenceNumber>
              <mslv-sa:asdlSequenceNumber>3</mslv-sa:asdlSequenceNumber>
              <mslv-sa:asdlRoute>TO_BE_DETERMINED</mslv-sa:asdlRoute>
              <mslv-sa:startDate>2013-03-26T20:51:58</mslv-sa:startDate>
              <mslv-sa:completeDate>2013-03-26T20:51:58</mslv-sa:completeDate>
              <mslv-sa:srqId>9005</mslv-sa:srqId>
              <mslv-sa:serviceValues>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>DN</mslv-sa:name>
                      <mslv-sa:value/>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>INCP</mslv-sa:name>
                      <mslv-sa:value/>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>LATA</mslv-sa:name>
                      <mslv-sa:value/>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>LCC</mslv-sa:name>
                      <mslv-sa:value>123456</mslv-sa:value>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>LEN</mslv-sa:name>
                      <mslv-sa:value/>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>LTG</mslv-sa:name>
                      <mslv-sa:value>TORONTO</mslv-sa:value>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
                  <mslv-sa:serviceValue>
                      <mslv-sa:name>NE_ID</mslv-sa:name>
                      <mslv-sa:value>TORONTO</mslv-sa:value>
                      <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
                  </mslv-sa:serviceValue>
              </mslv-sa:serviceValues>
          </sa:item>
      </sa:services>
      <sa:orderState>closed.completed</sa:orderState>
      <mslv-sa:parentKey>
          <co:applicationContext>
              <co:factoryClass/>
              <co:url/>
              <co:systemProperties/>
          </co:applicationContext>
          <co:applicationDN/>
          <co:type/>
          <sa:primaryKey/>
      </mslv-sa:parentKey>
      <mslv-sa:origin>saf_test_asapOrder</mslv-sa:origin>
      <mslv-sa:organizationUnit>UNKNOWN</mslv-sa:organizationUnit>
      <mslv-sa:updateDate>2013-03-26T20:51:58</mslv-sa:updateDate>
      <mslv-sa:secureData>false</mslv-sa:secureData>
      <mslv-sa:maximumDelayFail>0</mslv-sa:maximumDelayFail>
      <mslv-sa:rollbackIfFail>default</mslv-sa:rollbackIfFail>
      <mslv-sa:asdlTimeout>-1</mslv-sa:asdlTimeout>
      <mslv-sa:asdlRetry>-1</mslv-sa:asdlRetry>
      <mslv-sa:asdlRetryInterval>-1</mslv-sa:asdlRetryInterval>
      <mslv-sa:asdlDelayFail>false</mslv-sa:asdlDelayFail>
      <mslv-sa:revised>false</mslv-sa:revised>
      <mslv-sa:exceptions>false</mslv-sa:exceptions>
      <mslv-sa:rollbackExceptions>false</mslv-sa:rollbackExceptions>
      <mslv-sa:pendingCancel>false</mslv-sa:pendingCancel>
      <mslv-sa:rollbackState>rollback_required</mslv-sa:rollbackState>
      <mslv-sa:srqId>9005</mslv-sa:srqId>
      <mslv-sa:processType>IMMEDIATE</mslv-sa:processType>
      <mslv-sa:neId>TORONTO</mslv-sa:neId>
      <mslv-sa:srqAction>ADD</mslv-sa:srqAction>
      <mslv-sa:srpId>JSRPSF05</mslv-sa:srpId>
      <mslv-sa:password>mslv</mslv-sa:password>
      <mslv-sa:command>UPDATE</mslv-sa:command>
      <mslv-sa:orderParameters/>
      <mslv-sa:infoParms/>
      <mslv-sa:extendedWoProperties>
          <mslv-sa:extendedWoProperty>
              <mslv-sa:name>apiClientId</mslv-sa:name>
              <mslv-sa:value>activation_task_asap_2-saf_test_asap-1.0.0.0.0</mslv-sa:value>
              <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
          </mslv-sa:extendedWoProperty>
          <mslv-sa:extendedWoProperty>
              <mslv-sa:name>applicationDN</mslv-sa:name>
              <mslv-sa:value>System/SF05/ApplicationType/ServiceActivation/Application/1-0;7-2;ASAP/Comp/</mslv-sa:value>
              <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
          </mslv-sa:extendedWoProperty>
          <mslv-sa:extendedWoProperty>
              <mslv-sa:name>type</mslv-sa:name>
              <mslv-sa:value>javax.oss.order.CreateOrderValue</mslv-sa:value>
              <mslv-sa:type>REQUIRED_SCALAR</mslv-sa:type>
          </mslv-sa:extendedWoProperty>
      </mslv-sa:extendedWoProperties>
  </sa:orderValue>
</sa:getOrderByKeyResponse>




STEPS
-----------------------
Refered Configuring WebLogic Resources for OSM Integration With ASAP And UIM On Different Domains [Document 1431235.1] for configuring OSM-ASAP integration.

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