This discussion is archived
3 Replies Latest reply: Feb 8, 2012 1:40 AM by user360034 RSS

Automation plugin not getting invoked.

user360034 Newbie
Currently Being Moderated
While running a new flow for all of the type sources in a newly deployed cartridge, i am getting the following error:

Please note that, version 2.0.0 of the same Cartridge is workiing fine on the same OSM 7.0 instance. CreateSubscriberCADB is the first automation task in this particular process. and also, that this issue is persistent across any process that i try.

<06-Feb-2012 3:41:28,996 IST PM> <ERROR> <automation.AutomationDispatcher> <ExecuteThread: '14' for queue: 'oms.automation'> <Failed to execute plugin[automation/plugin/internal/task/WiMaxOrder_WiMaxOrder/3.0.0/CreateSubscriberCADB/do] due to java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage>
com.mslv.oms.automation.AutomationException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at com.plugin.fetch.cadb.createsubscriber.CreateSubscriberCADB_ttmdm1_EOImpl_1031_WLStub.getConfig(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.c(Unknown Source)
... 18 more
<Feb 6, 2012 3:41:28 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute plugin[automation/plugin/internal/task/WiMaxOrder_WiMaxOrder/3.0.0/CreateSubscriberCADB/do] due to java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
com.mslv.oms.automation.AutomationException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at com.plugin.fetch.cadb.createsubscriber.CreateSubscriberCADB_ttmdm1_EOImpl_1031_WLStub.getConfig(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
Truncated. see log file for complete stacktrace
>
<06-Feb-2012 3:41:29,035 IST PM> <ERROR> <automation.AutomationDispatcher> <ExecuteThread: '14' for queue: 'oms.automation'> <Failed to execute plugin[automation/plugin/internal/task/WiMaxOrder_WiMaxOrder/3.0.0/CreateSubscriberCADB/do] due to java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage>
com.mslv.oms.automation.AutomationException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at com.plugin.fetch.cadb.createsubscriber.CreateSubscriberCADB_ttmdm1_EOImpl_1031_WLStub.getConfig(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.c(Unknown Source)
... 18 more
<Feb 6, 2012 3:41:29 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute plugin[automation/plugin/internal/task/WiMaxOrder_WiMaxOrder/3.0.0/CreateSubscriberCADB/do] due to java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
com.mslv.oms.automation.AutomationException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at com.plugin.fetch.cadb.createsubscriber.CreateSubscriberCADB_ttmdm1_EOImpl_1031_WLStub.getConfig(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
Truncated. see log file for complete stacktrace
>
<06-Feb-2012 3:41:29,096 IST PM> <ERROR> <automation.AutomationDispatcher> <ExecuteThread: '14' for queue: 'oms.automation'> <Failed to execute plugin[automation/plugin/internal/task/WiMaxOrder_WiMaxOrder/3.0.0/CreateSubscriberCADB/do] due to java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage>
com.mslv.oms.automation.AutomationException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at com.plugin.fetch.cadb.createsubscriber.CreateSubscriberCADB_ttmdm1_EOImpl_1031_WLStub.getConfig(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.c(Unknown Source)
... 18 more
<Feb 6, 2012 3:41:29 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute plugin[automation/plugin/internal/task/WiMaxOrder_WiMaxOrder/3.0.0/CreateSubscriberCADB/do] due to java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
com.mslv.oms.automation.AutomationException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: java.lang.String cannot be cast to javax.jms.TextMessage
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at com.plugin.fetch.cadb.createsubscriber.CreateSubscriberCADB_ttmdm1_EOImpl_1031_WLStub.getConfig(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
Truncated. see log file for complete stacktrace
>
<06-Feb-2012 3:42:08,819 IST PM> <INFO> <impl.OrchestrationCascadingLRUPolicy> <Timer-13> <Evicted order /271 from orchestration cache due to cache entry expiry>

Changes in V3.0.0 of my cartridge wrt 2.0.0 is that i had changed the reference path of a few XSLTSender tasks by editing the automationmap.xml rather than making use of Eclipse Design studio to edit them one by one.
I fail to understand what could have gone wrong here. Tried redploying couple of times. Didnt work.

Edited by: 903131 on Feb 6, 2012 5:16 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points