This discussion is archived
1 Reply Latest reply: Nov 2, 2012 1:17 PM by user491422 - oracle RSS

Cannot create automator Custom Automation Plugin

Lucas Andres Muñoz Newbie
Currently Being Moderated
Hi all,

I have a little problem with Customs Automation Plugins, I work with a group of OSM developers, we use the same installation of OSM and even the same reference of Notebook, but when we develop a Custom Automation Plugin (Java Class that connects to a database and extract some information to make an Order Data Update), my teams mates OSM instances work correctly but mine generate an error and always is the same for different Customs Automatios Plugins.

I have been looking for this Error on Oracle Support and I already find this:
Bug 14117065 : ERROR LOG IS GENERATED INFINITELY AT NOTIFICATION SETTINGS
It seems that is my error, but is strange because of my team’s mates OSM instances like I said before.

This is the error:

<Error> <oms> <CO-L-14109ZG> <AdminServer> <ExecuteThread: '13' for queue: 'oms.automation'> <oms-automation> <BEA1-43AD8411EF12560E5D6A> <46645d5ea9e48215:5aa9f334:13ab1fa4b23:-8000-0000000000000374> <1351607306050> <BEA-000000> <automation.AutomationDispatcher: Cannot create automator
javax.naming.NameNotFoundException: While trying to lookup 'automation.plugin/internal/task/NcaOsmOrquestacionBA_TOIP/1.0.0.0.0/TANotificarCrmEstadosBA_TOIP/do' didn't find subcontext 'automation'. Resolved ''; remaining name 'automation/plugin/internal/task/NcaOsmOrquestacionBA_TOIP/1/0/0/0/0/TANotificarCrmEstadosBA_TOIP/do'
     at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
     at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
     at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
     at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
     at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
     at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
     at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at com.mslv.oms.automation.AutomationDispatcher.i(Unknown Source)
     at com.mslv.oms.automation.AutomationDispatcher.h(Unknown Source)
     at com.mslv.oms.automation.AutomationDispatcher.c(Unknown Source)
     at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.c(Unknown Source)
     at com.mslv.oms.automation.AutomationDispatcher.d(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)
     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:574)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.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:5170)
     at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
  • 1. Re: Cannot create automator Custom Automation Plugin
    user491422 - oracle Journeyer
    Currently Being Moderated
    To prevent the error from happening infinitely, set JMS redelivery settings on all OSM queues to a reasonable value (for development this is typically 1 redelivery attempt max with 5000ms between attempts, for production these values are usually higher at 15-20 attempts with 7000-15000ms between attempts).

    As for why it can't find the plugin, it looks like a deployment problem with the plugin ear file. I would suggest comparing your list of deployments with your colleagues in the wls console.

    Brian.

Legend

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