1 Reply Latest reply: Feb 1, 2013 10:24 AM by 978567 RSS

    XA Exception while invoking the Web Service

    978567
      I'm getting the following exception frequently while invoking the webservice hosted in OC4J:

      -4972682009633467115com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: javax.transaction.xa.XAException: Commit (onePhase) failed.

      at ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.setObjectDetails(ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.java:151)

      at ae.co.etisalat.cbcm.web.soh.provisioncbcm.ProvisionCBCMController.ProvisionCBCM(ProvisionCBCMController.java:76)

      at ae.co.etisalat.cbcm.web.soh.provisioncbcm.__ProvisionCBCMControllerStatelessWrapper.invokeMethod(__ProvisionCBCMControllerStatelessWrapper.java:100)

      at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:121)

      at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:342)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:792)

      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)

      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)

      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)

      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)

      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)

      at java.lang.Thread.run(Thread.java:534)



      Nested exception is:

      javax.transaction.xa.XAException: Commit (onePhase) failed.

      at com.evermind.sql.DriverManagerXAResource.ThrowXaErr(DriverManagerXAResource.java:249)

      at com.evermind.sql.DriverManagerXAResource.commit(DriverManagerXAResource.java:73)

      at com.evermind.server.TransactionEnlistment.commit(TransactionEnlistment.java:251)

      at com.evermind.server.ApplicationServerTransaction.singlePhaseCommit(ApplicationServerTransaction.java:746)

      at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:691)

      at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:1036)

      at ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.setObjectDetails(ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.java:147)

      at ae.co.etisalat.cbcm.web.soh.provisioncbcm.ProvisionCBCMController.ProvisionCBCM(ProvisionCBCMController.java:76)

      at ae.co.etisalat.cbcm.web.soh.provisioncbcm.__ProvisionCBCMControllerStatelessWrapper.invokeMethod(__ProvisionCBCMControllerStatelessWrapper.java:100)

      at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:121)

      at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:342)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:792)

      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)

      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)

      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)

      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)

      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)

      at java.lang.Thread.run(Thread.java:534)


      Anyone can help fixing this issue will be highly appreciated. thanks in advance !!