tags:

views:

1522

answers:

0

Any idea why this might happen. Usually the error happens on message arrival. It causes listener to restart. Actual message did not get consumed. The log dumps follow.

[11/19/08 10:55:37:552 GMT] 1cc4d8ed XATransaction E J2CA0027E: An exception occurred while invoking start on an XA Resource Adapter from dataSource JMS$TSC_VFQCF$JMSManagedConnection@501275024, within transaction ID { XID: formatId(57415344), gtrid_length(43), bqual_length(28), data(00000000000000b600000001ea97bf3a8ada8bb085e bfa2864c8547f11a77ca55050524f44325453433032ea97bf3a8ada8bb085ebfa2864c8547f11a77ca50000000100000000)}: javax. transaction.xa.XAException: XA operation failed, see errorCode at com.ibm.mq.MQXAResource.start(MQXAResource.java:443) at com.ibm.ejs.jms.JMSManagedSession$JMSXAResource.start(JMSManagedSession.java:1240) at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1288) at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164) at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:394) at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:2021) at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:491) at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:613) at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:782) at com.ibm.ejs.jms.JMSManagedSession.interactionPending(JMSManagedSession.java:992) at com.ibm.ejs.jms.JMSManagedSession.enlist(JMSManagedSession.java:835) at com.ibm.ejs.jms.JMSSessionHandle.enlist(JMSSessionHandle.java:954) at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:511) at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:494) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127) at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:375) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) . [11/19/08 10:55:37:578 GMT] 1cc4d8ed RegisteredRes E WTRN0078E: An attempt by the transaction manager to call start on a transactional resource has resulted in an error. The error code was XAER_RMERR. The exception sta ck trace follows: javax.transaction.xa.XAException: XA operation failed, see errorCode at com.ibm.mq.MQXAResource.start(MQXAResource.java:443) at com.ibm.ejs.jms.JMSManagedSession$JMSXAResource.start(JMSManagedSession.java:1240) at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1288) at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164) at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:394) at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:2021) at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:491) at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:613) at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:782) at com.ibm.ejs.jms.JMSManagedSession.interactionPending(JMSManagedSession.java:992) at com.ibm.ejs.jms.JMSManagedSession.enlist(JMSManagedSession.java:835) at com.ibm.ejs.jms.JMSSessionHandle.enlist(JMSSessionHandle.java:954) at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:511) at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:494) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127) at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:375) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

[11/19/08 10:55:37:614 GMT] 1cc4d8ed XATransaction E J2CA0030E: Method enlist caught javax.transaction.System Exception: Failed to start the transaction association. at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:2035) at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:491) at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:613) at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:782) at com.ibm.ejs.jms.JMSManagedSession.interactionPending(JMSManagedSession.java:992) at com.ibm.ejs.jms.JMSManagedSession.enlist(JMSManagedSession.java:835) at com.ibm.ejs.jms.JMSSessionHandle.enlist(JMSSessionHandle.java:954) at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:511) at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:494) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127) at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:375) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) Caused by: javax.transaction.xa.XAException: XA operation failed, see errorCode at com.ibm.mq.MQXAResource.start(MQXAResource.java:443) at com.ibm.ejs.jms.JMSManagedSession$JMSXAResource.start(JMSManagedSession.java:1240) at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1288) at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164) at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:394) at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:2021) ... 18 more while trying to enlist resources from datasource JMS$TSC_VFQCF$JMSManagedConnection@501275024 with the Trans action Manager for the current transaction, and threw a ResourceException. [11/19/08 10:55:37:640 GMT] 1cc4d8ed ConnectionEve A J2CA0056I: The Connection Manager received a fatal conne ction error from the Resource Adaptor for resource JMS$TSC_VFQCF$JMSManagedConnection@501275024. The excepti on which was received is javax.jms.JMSException: Enlist failed [11/19/08 10:55:37:641 GMT] 1cc4d8ed ConnectionEve A J2CA0056I: The Connection Manager received a fatal conne ction error from the Resource Adaptor for resource jms/VFQueueConnectionFactory. The exception which was rec eived is javax.jms.JMSException: Enlist failed [11/19/08 10:55:37:643 GMT] 1cc4d8ed JMSExceptionL E WMSG0018E: Error on JMSConnection for MDB FinanceRequest ReleaseMessage , JMSDestination jms/VFQueue : javax.jms.JMSException: Enlist failed at com.ibm.ejs.jms.JMSCMUtils.mapToJMSException(JMSCMUtils.java:107) at com.ibm.ejs.jms.JMSManagedSession.enlist(JMSManagedSession.java:853) at com.ibm.ejs.jms.JMSSessionHandle.enlist(JMSSessionHandle.java:954) at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:511) at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:494) :