MQ Enqueue throwing "The method 'xa_start' has failed with errorCode '-6'." (Doc ID 2299141.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle Service Bus - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.0.0 version, OSB Transports

MQ Engueue failed in OSB environment.

ERROR
-----------------------
[osb_server1] [ERROR] [OSB-381502] [oracle.osb.transports.main.jmstransport] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 1ce5b671-9eab-4ac1-a314-8b58047fc674-000001c0,0] [APP: SB_JMS_Proxy_7f000001.N61d9bac3.0.15d40102905.N8000] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: 0000Lp0KUiaFw000jzwkno1PQ8KN000028] Exception in JmsInboundMDB.onMessage: com.bea.wli.sb.transports.TransportException: General runtime error: start() failed on resource 'OSB_QMA_MQIssueReproducer/MQReproConnection_4': XAER_PROTO : Routine was invoked in an improper context[[
javax.transaction.xa.XAException: The method 'xa_start' has failed with errorCode '-6'.
at com.ibm.mq.jmqi.JmqiXAResource.start(JmqiXAResource.java:946)
at com.ibm.mq.MQXAResource.start(MQXAResource.java:259)
at com.bea.wli.sb.resources.mqconnection.OSBMQXAResource.start(OSBMQXAResource.java:89)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1368)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1299)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:298)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:627)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:484)
at com.bea.wli.sb.transports.mq.MQOutboundMessageContext.send(MQOutboundMessageContext.java:1193)
at com.bea.wli.sb.transports.mq.MQTransportProvider.sendMessageAsync(MQTransportProvider.java:531)
at sun.reflect.GeneratedMethodAccessor1541.invoke(Unknown Source)
................................................
Caused by: com.bea.wli.sb.services.dispatcher.DispatchException: General runtime error: start() failed on resource 'OSB_QMA_MQIssueReproducer/MQReproConnection_4': XAER_PROTO : Routine was invoked in an improper context
javax.transaction.xa.XAException: The method 'xa_start' has failed with errorCode '-6'.
at com.ibm.mq.jmqi.JmqiXAResource.start(JmqiXAResource.java:946)
at com.ibm.mq.MQXAResource.start(MQXAResource.java:259)
at com.bea.wli.sb.resources.mqconnection.OSBMQXAResource.start(OSBMQXAResource.java:89)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1368)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1299)



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