MQSeries Adapter Produces NullPointerExceptions in BPEL 10.1.3.3.0 on Weblogic (Doc ID 578999.1)

Last updated on AUGUST 05, 2008

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.3 to 10.1.3.3
This problem can occur on any platform.

Symptoms

Environment: BPEL 10.1.3.3.0 installed on Weblogic Application Server.

Design a simple BPEL Process which en-queue messages into IBM Websphere MQ Series.

Configure weblogic-ra.xml located at /BEA_HOME/user_projects/apps/soaApps/MQSeriesAdapter/META-INF/weblogic-ra.xml

MQ Series Host , Port , Queue Manager and Channel Name are configured in weblogic-ra.xml.

When BPEL Process is initiated from the console, the en-queue of messages result in following exception:

<2008-05-22 12:44:13,164> <ERROR> <mooa_technicalservices.collaxa.cube.ws> <AdapterFramework::Outbound> file:/progs/oracle/orabpel/bpel/domains/mooa_technicalservices/tmp/.bpel_MasterAction_S212_1.0_bb0aa89bebf06cc70ea3695def49a03b.tmp/WriteS212Msg.wsdl [ Enqueue_ptt::Enqueue(S212Request) ] - Could not invoke operation 'Enqueue' against the 'MQSeries Adapter' due to: 

java.lang.NullPointerException 
at oracle.tip.adapter.mq.outbound.MessageProducer.<init>(MessageProducer.java:152) 
at oracle.tip.adapter.mq.outbound.InteractionImpl.execute(InteractionImpl.java:150) 
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:485) 
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736) 
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:429) 
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:443) 
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251) 
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:727) 
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:366) 
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195) 
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3672) 
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1650) 
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) 
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184) 
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:276) 
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5658) 
at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1874) 
at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:803) 
at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:783) 
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:378) 
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleCallback(CubeDeliveryBean_yt19iq_ELOImpl.java:619) 
at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:49) 
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138) 
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) 
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) 
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429) 
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335) 
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291) 
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072) 
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3962) 
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490) 
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) 
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) 
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) 

<2008-05-22 12:44:13,165> <ERROR> <mooa_technicalservices.collaxa.cube.ws> <AdapterFramework::Outbound> file:/progs/oracle/orabpel/bpel/domains/mooa_technicalservices/tmp/.bpel_MasterAction_S212_1.0_bb0aa89bebf06cc70ea3695def49a03b.tmp/WriteS212Msg.wsdl [ Enqueue_ptt::Enqueue(S212Request) ] - Rolling back JCA LocalTransaction 
////////////////ROLLBACK LocalTransaction 
<2008-05-22 12:44:13,167> <DEBUG> <mooa_technicalservices.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed 
org.collaxa.thirdparty.apache.wsif.WSIFException: file:/progs/oracle/orabpel/bpel/domains/mooa_technicalservices/tmp/.bpel_MasterAction_S212_1.0_bb0aa89bebf06cc70ea3695def49a03b.tmp/WriteS212Msg.wsdl [ Enqueue_ptt::Enqueue(S212Request) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: null; nested exception is: 
java.lang.NullPointerException 
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:633) 
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736) 
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:429) 
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:443) 
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251) 
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:727) 
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:366) 
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195) 
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3672) 
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1650) 
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) 
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184) 
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:276) 
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5658) 
at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1874) 
at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:803) 
at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:783) 
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:378) 
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleCallback(CubeDeliveryBean_yt19iq_ELOImpl.java:619) 
at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:49) 
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138) 
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) 
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) 
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429) 
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335) 
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291) 
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072) 
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3962) 
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490) 
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) 
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) 
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) 
Caused by: java.lang.NullPointerException 
at oracle.tip.adapter.mq.outbound.MessageProducer.<init>(MessageProducer.java:152) 
at oracle.tip.adapter.mq.outbound.InteractionImpl.execute(InteractionImpl.java:150) 
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:485) 
... 31 more

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