aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Very Very Urgent Pls.!!!! Regarding XA Transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Very Very Urgent Pls.!!!! Regarding XA Transaction" Watch "Very Very Urgent Pls.!!!! Regarding XA Transaction" New topic
Author

Very Very Urgent Pls.!!!! Regarding XA Transaction

Mohsin Kayal
Greenhorn

Joined: Oct 22, 2005
Posts: 23
we are facing a problem with was 5.1

the systemout.log returns the following error



[10/19/05 13:34:52:109 AST] 38428bff XATransaction E J2CA0027E: An exception occurred while invoking end on an XA Resource Adapter from dataSource JMS$Fix Connection Factory$JMSManagedConnection@1631079397, within transaction ID {XID: formatId(57415344), gtrid_length(39), bqual_length(28), data(000000000000004100000001d5bed180d4af5f14f5306d2e7d95170cc84f7dc773657276657231d5bed180d4af5f14f5306d2e7d95170cc84f7dc700000001dd0b056f)}: javax.transaction.xa.XAException: XA operation failed, see errorCode
at com.ibm.mq.MQXAResource.end(MQXAResource.java:502)
at com.ibm.ejs.jms.JMSManagedSession$JMSXAResource.end(JMSManagedSession.java:1535)
at com.ibm.ejs.j2c.XATransactionWrapper.end(XATransactionWrapper.java:517)
at com.ibm.ws.Transaction.JTA.JTAResourceBase.end(JTAResourceBase.java:253)
at com.ibm.ws.Transaction.JTA.RegisteredResources.distributeEnd(RegisteredResources.java:627)
at com.ibm.ws.Transaction.JTA.TransactionImpl.internalPrepare(TransactionImpl.java:1220)
at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:960)
at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:150)
at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:182)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:696)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java(Compiled Code))
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
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:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)



[10/19/05 13:34:53:188 AST] 38428bff ServerSession W WMSG0031E: Exception processing JMS Message for MDB Group4MDB, JMSDestination Group4 : javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.ws.exception.WsEJBException
com.ibm.ws.exception.WsEJBException
at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapException(LocalExceptionMappingStrategy.java:159)
at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapCSITransactionRolledBackException(LocalExceptionMappingStrategy.java:293)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
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:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.ws.exception.WsEJBException
at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapCSIException(LocalExceptionMappingStrategy.java:96)
at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapException(LocalExceptionMappingStrategy.java:165)
at com.ibm.ejs.container.LocalExceptionMappingStrategy.mapCSITransactionRolledBackException(LocalExceptionMappingStrategy.java:293)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java(Compiled Code))
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:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)


We have 5 MDB listening to 5 QUEUES and passing message to session beans
from session bean we are calling some stored procedure.
We have used the CMP.
We are using Oracle 9i Database,Websphere MQ 5.3 with CSD11 and WAS 5.1 on windows 2000 server


When we run a test which pumps around 100 messages per second to all queues
we faced the above problem (SystemOut.log )



Your help will be highly appriciated

Thanks
 
Consider Paul's rocket mass heater.
 
subject: Very Very Urgent Pls.!!!! Regarding XA Transaction