Posted: Fri Nov 20, 2009 2:29 am Post subject: JMS, Weblogic and XA Transaction
Centurion
Joined: 15 Apr 2003 Posts: 144
Hi,
We have a problem with our environment which consists of a Weblogic on MQClient with ETC and a QueueManger on an other Server. MQ Products are from Version 6.0.2.6.
The use case is a MDB which saves something in a Oracle DB and then writes a reply message.
We have the problem that we get the following exception aprox. every 10th time a reply gets written.
Is there any additional configuration needed on QM or ETC side in order the QM acts correctly as ResourceManager for the TM of Weblogic?
javax.jms.JMSException: [JMSPool:169809]An error occurred while registering the JMS connection with JTA: javax.transaction.SystemException: start() failed on resource 'abe-cz-edu-cbs.abe-cz-edu-cbs-mserver-1.JMSXASessionPool.xaConnectionFactory': XAER_RMERR : A resource manager error has occurred in the transaction branch
javax.transaction.xa.XAException: XA operation failed, see errorCode
at com.ibm.mq.MQXAResource.start(MQXAResource.java:495)
at weblogic.deployment.jms.WrappedXAResource_com_ibm_mq_MQXAResource.start(Unknown Source)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1183)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1116)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:275)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:508)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:435)
at weblogic.deployment.jms.WrappedTransactionalSession.enlistInExistingTransaction(WrappedTransactionalSession.java:158)
at weblogic.deployment.jms.WrappedTransactionalSession.enlistInTransaction(WrappedTransactionalSession.java:206)
at weblogic.deployment.jms.WrappedMessageProducer.send(WrappedMessageProducer.java:154)
at com.iflex.fcubs.gwservices.jms.GWJMSQueueService.sendMsgToQ(GWJMSQueueService.java:219)
at com.iflex.fcubs.gw.mdb.GWMDBBean.processMessage(GWMDBBean.java:1256)
at com.iflex.fcubs.gw.mdb.GWMDBBean.onMessage(GWMDBBean.java:344)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
javax.jms.JMSException: [JMSPool:169809]An error occurred while registering the JMS connection with JTA: javax.transaction.SystemException: start() failed on resource 'abe-cz-edu-cbs.abe-cz-edu-cbs-mserver-1.JMSXASessionPool.xaConnectionFactory': XAER_RMERR : A resource manager error has occurred in the transaction branch
javax.transaction.xa.XAException: XA operation failed, see errorCode
at com.ibm.mq.MQXAResource.start(MQXAResource.java:495)
So did you find an XA Resource error? Was there an error file generated (/var/mqm/errors/*.FDC) ? Where (server/client) ?
How stable is your connection from WebLogic to WMQ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum