wsit
  1. wsit
  2. WSIT-1524

Failed state during WS-AT XAResource commit:Prepared XAException.errorcode:-7

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: current
    • Component/s: None
    • Labels:
      None
    • Environment:

      glassfish 3.1

      Description

      While running the attached client application I am seeing this exception in the browser:

      Exception:
      ===========
      javax.transaction.SystemException: org.omg.CORBA.INTERNAL: JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0 completed: Maybe] on Resource [commit] operation. vmcid: 0x0 minor code: 0 completed: No at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:332) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:184) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:873) at com.sun.enterprise.transaction.UserTransactionImpl.commit(UserTransactionImpl.java:208) at simple.client.NewServlet.processRequest(NewServlet.java:63) at simple.client.NewServlet.doGet(NewServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:818) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1008) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662)

      1. server.log
        310 kB
        Sreekanth
      2. server.log
        99 kB
        Sreekanth

        Activity

        Hide
        Sreekanth added a comment -

        Netbeans client and server application to reproduce the issue.

        Show
        Sreekanth added a comment - Netbeans client and server application to reproduce the issue.
        Hide
        Sreekanth added a comment -

        attached glassfish server log.

        Show
        Sreekanth added a comment - attached glassfish server log.
        Hide
        Sreekanth added a comment -

        Changing the Summary line so that the issue can be easily figured out seeing the summary.

        Show
        Sreekanth added a comment - Changing the Summary line so that the issue can be easily figured out seeing the summary.
        Hide
        Sreekanth added a comment -

        Steps to reproduce:

        1)Unzip the attached netbeans applications.
        2)Open the applications in netbeans
        3)Resolve the missing server problem
        4)Now clean build and deploy the server side application "TxAppMandatory"
        5)Now clean build, deploy and run the client app. "TxAppMandatoryClient"
        6)Now a browser window will be opened invoking the servlet,which is webservice invocation client

        It will take a few minutes to time out and you will see the exception at glassfish server log and CORBA exception in the browser.

        Show
        Sreekanth added a comment - Steps to reproduce: 1)Unzip the attached netbeans applications. 2)Open the applications in netbeans 3)Resolve the missing server problem 4)Now clean build and deploy the server side application "TxAppMandatory" 5)Now clean build, deploy and run the client app. "TxAppMandatoryClient" 6)Now a browser window will be opened invoking the servlet,which is webservice invocation client It will take a few minutes to time out and you will see the exception at glassfish server log and CORBA exception in the browser.
        Hide
        paul_parkinson added a comment -

        Fix committed in revision 6695.

        Show
        paul_parkinson added a comment - Fix committed in revision 6695.
        Hide
        Sreekanth added a comment -

        This is what I get when I run the attached tests cases with the latest available glassfish.

        Servlet NewServlet at /TxAppMandatoryClient

        Transaction id at server4D2-313332303734323236373536342D30 4D2-313332303734323236373536342D30 javax.transaction.RollbackException at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:325) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:186) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:858) at com.sun.enterprise.transaction.UserTransactionImpl.commit(UserTransactionImpl.java:208) at simple.client.NewServlet.processRequest(NewServlet.java:63) at simple.client.NewServlet.doGet(NewServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1547) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:232) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:833) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:730) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1031) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722)

        Show
        Sreekanth added a comment - This is what I get when I run the attached tests cases with the latest available glassfish. Servlet NewServlet at /TxAppMandatoryClient Transaction id at server4D2-313332303734323236373536342D30 4D2-313332303734323236373536342D30 javax.transaction.RollbackException at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:325) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:186) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:858) at com.sun.enterprise.transaction.UserTransactionImpl.commit(UserTransactionImpl.java:208) at simple.client.NewServlet.processRequest(NewServlet.java:63) at simple.client.NewServlet.doGet(NewServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1547) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:232) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:833) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:730) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1031) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722)
        Hide
        Sreekanth added a comment -

        Attaching server log

        Show
        Sreekanth added a comment - Attaching server log
        Hide
        Sreekanth added a comment -

        Assigning to Arjav

        Show
        Sreekanth added a comment - Assigning to Arjav

          People

          • Assignee:
            arjavdesai
            Reporter:
            Sreekanth
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: