• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DSRA0302E: XAException occurred. Error code is: XAER_PROTO (-6)

 
Simran Sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are getting the below error intermittently in the production environment and have not been able to idnetify the scenario to replicate this in the mirror test environmrnt.
We are using Websphere application server V8.1 and Oracle 11g.

0000203d WSRdbXaResour E   DSRA0304E:  XAException occurred. XAException contents and details are:
The XA Error is            : -6
The XA Error message is    : Routine was invoked in an inproper context.
The Oracle Error code is   : 24776
The Oracle Error message is: Internal XA Error
.
[11/1/16 9:28:47:484 GMT] 0000203d WSRdbXaResour E   DSRA0302E:  XAException occurred.  Error code is: XAER_PROTO (-6).  Exception is: <null>
[11/1/16 9:28:47:484 GMT] 0000203d XATransaction E   J2CA0027E: An exception occurred while invoking start on an XA Resource Adapter from DataSource IFCHXA, within transaction ID {XidImpl: formatId(57415344), gtrid_length(36), bqual_length(54),
data(000001581f383678000000042936ecb4aa76051c1d694d643805e251ac53253851a63350000001581f383678000000042936ecb4aa76051c1d694d643805e251ac53253851a63350000000010000000000000000000000000001)} : oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1101)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:237)
at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start(WSRdbXaResourceImpl.java:1531)
at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1479)
at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:157)
at com.ibm.tx.jta.impl.RegisteredResources.startRes(RegisteredResources.java:1037)
at com.ibm.ws.tx.jta.RegisteredResources.enlistResource(RegisteredResources.java:1161)
at com.ibm.ws.tx.jta.TransactionImpl.enlistResource(TransactionImpl.java:2231)
at com.ibm.tx.jta.embeddable.impl.EmbeddableTranManagerSet.enlist(EmbeddableTranManagerSet.java:157)
at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:733)
at com.ibm.ejs.j2c.ConnectionManager.lazyEnlist(ConnectionManager.java:2697)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.lazyEnlist(WSRdbManagedConnectionImpl.java:2606)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:745)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2803)
at com.polaris.ifch.util.db.DataAccessService.executeQuery(DataAccessService.java:179)
at com.polaris.ifch.util.db.DataAccessService.fetchValuesUsingConnection(DataAccessService.java:114)
at com.polaris.ifch.common.bo.DataExtractionBO.fetchTransactionDetails(DataExtractionBO.java:1208)
at com.polaris.fcl.ejb.InFlightStructureEJB.insertIntoInFlightStructure(InFlightStructureEJB.java)
at com.polaris.fcl.ejb.EJSRemote0SLInFlightStructureEJB_626712af.insertIntoInFlightStructure(EJSRemote0SLInFlightStructureEJB_626712af.java)
at com.polaris.fcl.ejb._InFlightStructureEJBRemote_Stub.insertIntoInFlightStructure(_InFlightStructureEJBRemote_Stub.java:1)
at com.polaris.ifch.workflow.tools.PreSerializeNotification.sendData(PreSerializeNotification.java:55)
at com.polaris.workflow.store.OW_Escalation_Store.sendCommunication(OW_Escalation_Store.java:5702)
at com.polaris.workflow.store.OW_Escalation_Store.sendEmail(OW_Escalation_Store.java:4759)
at com.polaris.workflow.store.SPT_Store.sendEmail(SPT_Store.java:4076)
at com.polaris.workflow.store.SPT_Store.processEmailData(SPT_Store.java:4045)
at com.polaris.workflow.store.SPT_Store.lbPopulate(SPT_Store.java:3732)
at com.polaris.workflow.components.mdb.DaemonMDB.lbPopulate(DaemonMDB.java:417)
at com.polaris.workflow.components.mdb.DaemonMDB.doProcessOnMessage(DaemonMDB.java:239)
at com.polaris.workflow.components.mdb.DaemonMDB.processMessage(DaemonMDB.java:171)
at com.polaris.workflow.components.mdb.DaemonMDB.onMessage(DaemonMDB.java)
at com.ibm.ejs.container.WASMessageEndpointHandler.invokeJMSMethod(WASMessageEndpointHandler.java:138)
at com.ibm.ws.ejbcontainer.mdb.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1146)
at com.ibm.ws.ejbcontainer.mdb.MessageEndpointHandler.invoke(MessageEndpointHandler.java:844)
at com.sun.proxy.$Proxy44.onMessage(Unknown Source)
at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)
at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:919)
at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:592)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:281)
at java.security.AccessController.doPrivileged(AccessController.java:309)
at javax.security.auth.Subject.doAs(Subject.java:495)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:133)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:284)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:666)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

There are some details about this error on the link http://www-01.ibm.com/support/docview.wss?uid=swg21379678. However all EJBs and MDBs in our application are using CMT with Required or Requires_New attributes.
Any inputs on how to debug this further would be appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic