Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

MQJMS2012: XACLOSE failed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am getting this exception in my application. Not sure why it is coming. The IBM site suggestes installing a fix.

I have Websphere 6.0.2.3, Oracle10g & MQ. The application reads a msg & puts in the DB as CLOB & sometimes it rollsback for no apparent reason.

here's the log of the exception:

[6/6/08 10:05:46:786 CDT] 00000054 XATransaction E J2CA0027E: An exception occurred while invoking end on an XA Resource Adapter from dataSource JMS$TRBMDBConnectionFactory$JMSManagedConnection@29867923, within transaction ID {XidImpl: formatId(57415344), gtrid_length(36), bqual_length(54), data(0000011a5e0b567f0000000100033ece746b814e1bc8721288f9e1dcaa21ea2d635a58990000011a5e0b567f0000000100033ece746b814e1bc8721288f9e1dcaa21ea2d635a5899000000010000000000000000000000000001)}: javax.transaction.xa.XAException: XA operation failed, see errorCode
at com.ibm.mq.MQXAResource.end(MQXAResource.java:528)
at com.ibm.ejs.jms.JMSManagedSession$JMSXAResource.end(JMSManagedSession.java:1641)
at com.ibm.ejs.j2c.XATransactionWrapper.end(XATransactionWrapper.java:525)
at com.ibm.ws.Transaction.JTA.JTAResourceBase.end(JTAResourceBase.java:232)
at com.ibm.ws.Transaction.JTA.RegisteredResources.distributeEnd(RegisteredResources.java:1176)
at com.ibm.ws.Transaction.JTA.TransactionImpl.distributeEnd(TransactionImpl.java:2291)
at com.ibm.ws.Transaction.JTA.TransactionImpl.prepareResources(TransactionImpl.java:1920)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1523)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1479)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1414)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:236)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:157)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:716)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:167)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)
.
[6/6/08 10:05:47:846 CDT] 00000054 MCWrapper E J2CA0081E: Method destroy failed while trying to execute method destroy on ManagedConnection com.ibm.ejs.jms.JMSManagedQueueSession@25eb8b
physical session = com.ibm.mq.jms.MQXAQueueSession@128beb6
session type = XA_SESSION
enlisted = true
open session handles = []
managed session factory = com.ibm.ejs.jms.JMSManagedQueueSessionFactory@190ea6a from resource No longer available. Caught exception: javax.resource.spi.ResourceAdapterInternalException: Failed to close session
at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:170)
at com.ibm.ejs.jms.JMSManagedSession.destroy(JMSManagedSession.java:555)
at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:1544)
at com.ibm.ejs.j2c.poolmanager.FreePool.cleanupAndDestroyMCWrapper(FreePool.java:641)
at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java:436)
at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java:1511)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:1951)
at com.ibm.ejs.j2c.XATransactionWrapper.afterCompletion(XATransactionWrapper.java:370)
at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeAfter(RegisteredSyncs.java:370)
at com.ibm.ws.Transaction.JTA.TransactionImpl.distributeAfter(TransactionImpl.java:3652)
at com.ibm.ws.Transaction.JTA.TransactionImpl.postCompletion(TransactionImpl.java:3631)
at com.ibm.ws.Transaction.JTA.TransactionImpl.internalRollback(TransactionImpl.java:2619)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage2CommitProcessing(TransactionImpl.java:1620)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1483)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1414)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:236)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:157)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:716)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:167)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)
Caused by: javax.jms.JMSException: MQJMS2012: XACLOSE failed
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:567)
at com.ibm.mq.jms.MQXASession.close(MQXASession.java:199)
at com.ibm.ejs.jms.JMSManagedSession.destroy(JMSManagedSession.java:550)
... 23 more
---- Begin backtrace for Nested Throwables
javax.transaction.xa.XAException: MQJI002: Not connected to a queue manager.
at com.ibm.mq.MQXAResource.createXAException(MQXAResource.java:794)
at com.ibm.mq.MQSESSIONClient.XACLOSE(MQSESSIONClient.java:549)
at com.ibm.mq.MQXAResource.close(MQXAResource.java:165)
at com.ibm.mq.jms.MQXASession.close(MQXASession.java:196)
at com.ibm.ejs.jms.JMSManagedSession.destroy(JMSManagedSession.java:550)
at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:1544)
at com.ibm.ejs.j2c.poolmanager.FreePool.cleanupAndDestroyMCWrapper(FreePool.java:641)
at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java:436)
at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java:1511)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:1951)
at com.ibm.ejs.j2c.XATransactionWrapper.afterCompletion(XATransactionWrapper.java:370)
at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeAfter(RegisteredSyncs.java:370)
at com.ibm.ws.Transaction.JTA.TransactionImpl.distributeAfter(TransactionImpl.java:3652)
at com.ibm.ws.Transaction.JTA.TransactionImpl.postCompletion(TransactionImpl.java:3631)
at com.ibm.ws.Transaction.JTA.TransactionImpl.internalRollback(TransactionImpl.java:2619)
at com.ibm.ws.Transaction.JTA.TransactionImpl.stage2CommitProcessing(TransactionImpl.java:1620)
at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1483)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1414)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:236)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:157)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:716)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:167)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)

[6/6/08 10:05:48:046 CDT] 00000054 ServerSession W WMSG0031E: Exception processing JMS Message for MDB TRBServiceMDB, JMSDestination jms/TRBServiceQueue : javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException:
com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:729)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:167)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)
javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:729)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:167)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:569)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3801)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:102)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:478)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)

[6/6/08 10:05:48:072 CDT] 00000054 ThreadMonitor W WSVR0606W: Thread "MessageListenerThreadPool : 1" (00000054) was previously reported to be hung but has completed. It was active for approximately 6169257 milliseconds. There is/are 0 thread(s) in total in the server that still may be hung.
[6/6/08 10:13:32:437 CDT] 0000005f LdapRegistryI A SECJ0419I: The user registry is cu
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic