MQ Server Version 6.0.2.3 and Above Libraries are not Compatible with the BPEL/ESB MQ Adapter - MissingResourceException (Doc ID 783896.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle ESB - Version 10.1.3.1 to 10.1.3.5
Information in this document applies to any platform.
***Checked for relevance on 05-Oct-2011***


Symptoms

Use of a MQ adapter fails when using it in a BPEL or ESB process when enabling the MQ with XA feature. 

All of the setup to use the MQ Adapter with XA has been done, but you see a "MissingResourceException" type of error either in the BPEL domain.log at $ORACLE_HOME/bpel/domains/<domain name>/logs or if ESB in the ESB Runtime logfile log.xml at $ORACLE_HOME/j2ee/<ESB RT container name>/log/*_1/oc4j.

This example of the error is from the BPEL domain.log:

<2008-12-12 01:14:40,870> <DEBUG> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Looking up Resource Adapter JDNI location 'eis/MQ/XA/SOA'
<AdapterFramework::Outbound> file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Could not invoke operation 'Enqueue' against the 'MQSeries Adapter' due to:
javax.resource.ResourceException: file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Could not create JCA Interaction due to: oracle.j2ee.connector.proxy.ProxyInterceptException: ORABPEL-00001
java.util.MissingResourceException
java.util.MissingResourceException
java.util.MissingResourceException

<AdapterFramework::Outbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to see full error stack
<AdapterFramework::Outbound> file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Rolling back JCA LocalTransaction
<WSIFInvocationHandler::invoke> Fault happened: file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Could not create JCA Interaction due to: oracle.j2ee.connector.proxy.ProxyInterceptException: ORABPEL-00001
java.util.MissingResourceException
java.util.MissingResourceException
java.util.MissingResourceException
; nested exception is:
javax.resource.ResourceException: file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Could not create JCA Interaction due to: oracle.j2ee.connector.proxy.ProxyInterceptException: ORABPEL-00001
java.util.MissingResourceException
java.util.MissingResourceException
java.util.MissingResourceException

<BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Failed due to unhandled bpel fault.
.
.
.
<2008-12-12 01:14:40,970> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::acknowledge> Acknowledged message remove stateful bean message 6022459a1bb97db4:548cece6:11e237b6162:-7f39
<2008-12-12 01:14:40,970> <DEBUG> <default.collaxa.cube.engine.data> <DBUtils::checkIfFatalConnectionError> Checking exception if fatal connection error
ORABPEL-02181

Failed due to unhandled bpel fault.

at com.collaxa.cube.engine.CubeEngine.scheduleAsyncAuditStore(CubeEngine.java:6194)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1693)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1087)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:546)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=<summary>file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: file:/rh202/u01/app/oracle/product/soa/soa/bpel/domains/default/tmp/.bpel_SOACOE_Test_MQXA_1.0_1c647eb7a226c53331952cbc65f6c864.tmp/SOACOE_Test_MQ_XA.wsdl [ Enqueue_ptt::Enqueue(SOACOE_Test_MQXAProcessRequest) ] - Could not create JCA Interaction due to: oracle.j2ee.connector.proxy.ProxyInterceptException: ORABPEL-00001
java.util.MissingResourceException
java.util.MissingResourceException
java.util.MissingResourceException
; nested exception is:
javax.resource.ResourceException:
.
.
.
<2008-12-12 01:14:40,973> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseDispatchTask::run> Failed to handle dispatch message ... exception ORABPEL-05002





Changes

Everything was working fine using MQ server adapter libraries:

com.ibm.mq.jar
and
com.ibm.mqetclient.jar

When the library versions were below version 6.0.2.3, but now running the process is failing as above when using library versions equal to or higher than version 6.0.2.3.

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