Discussions

EJB programming & troubleshooting: XAException

  1. XAException (1 messages)

    Hi, My current environment is using Hibernate 3 and Websphere 6.1. In the app the first transaction is running fine but after the first transaction its throwing the following exception [1/28/08 13:02:42:533 EST] 00000043 RegisteredRes E WTRN0078E: An attempt by the transaction manager to call start on a transactional resource has resulted in an error. T he error code was XAER_PROTO. The exception stack trace follows: javax.transaction.xa.XAException at com.ibm.ws.sib.comms.client.OptimizedSIXAResourceProxy.start(OptimizedSIXAResourceProxy.java:1018) at com.ibm.ws.sib.ra.inbound.impl.SibRaXaResource.start(SibRaXaResource.java:325) at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:145) at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:1216) at com.ibm.ws.Transaction.JTA.RegisteredResources.enlistResource(RegisteredResources.java:630) at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:3225) at com.ibm.ws.Transaction.JTA.TranManagerImpl.enlist(TranManagerImpl.java:497) at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:248) at com.ibm.ejs.container.MessageEndpointHandler.beforeDelivery(MessageEndpointHandler.java:1293) at com.ibm.ejs.container.MessageEndpointHandler.invokeMessageEndpointMethod(MessageEndpointHandler.java:748) at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:714) at $Proxy2.beforeDelivery(Unknown Source) at com.ibm.ws.sib.ra.inbound.impl.SibRaTransactionalDispatcher.beforeDelivery(SibRaTransactionalDispatcher.java:307) at com.ibm.ws.sib.ra.inbound.impl.SibRaTransactionalDispatcher.beforeDelivery(SibRaTransactionalDispatcher.java:348) at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:670) at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:584) at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:418) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) After the exception the only alternative is to restart the APP Can any body help me ...what is the problem???

    Threaded Messages (1)

  2. Re: XAException[ Go to top ]

    The problem was fixed after the Data source to which the app was pointing was changed. Seems like the earlier data source was not supporting XA transaction rollback.... Thanks