"Distributed transactions are not available in client mode" warning when using WebSphere MQ resource adapter with JBoss
Issue
- We are including the wmq.jmsra.rar file in our <instance>/deploy directory, and the archive file has been earlier adjusted for the content of the ra.xml inside with replacing the XA Transaction to LocalTransaction as per the docs. However when I start the Jboss server we seems to have the error and a mitigation stating NO Action Require if Not using extended transaction.
ERROR [STDERR] (main:) 03/03/2010 08:37:34 [main] JCAMessageBuilder Distributed transactions are not available in client mode. EXPLANATION: The extended transactional client JAR file, com.ibm.mqetclient.jar, was not be found in the class path. ACTION: If the extended transactional client is not required, no action is necessary. - The follow error appears when activating a MDB
Caused by: com.ibm.mq.connector.DetailedResourceException: MQJCA1004: Distributed transactions are unavailable., error code: MQJCA1004 An attempt was made to use distributed transactions in an environment where they are not available. Make sure that the WebSphere MQ extended transactional client is installed if required, or use a bindings connection. at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:124) at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:86) at com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:389) at org.jboss.resource.deployers.RARDeployment.endpointActivation(RARDeployment.java:330) at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:284) at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58) at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:344) ... 57 more
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3
- 5
- WebSphere MQ Resource Adapter
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
