ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS, Weblogic and XA Transaction

Post new topic  Reply to topic
 JMS, Weblogic and XA Transaction « View previous topic :: View next topic » 
Author Message
sfari
PostPosted: Fri Nov 20, 2009 2:29 am    Post subject: JMS, Weblogic and XA Transaction Reply with quote

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)

Any Ideas?
Thanks,
sfari
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 20, 2009 9:22 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Code:
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?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS, Weblogic and XA Transaction
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.