Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12763

avoid returning connection in XA pool with wrong state

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.8
    • Component/s: Core VCS
    • Backlog priority:
      500

      Description

      When using the same connection in multiple threads, we may end-up with a connection returned in the XA pool with the wrong state.

      ie:

      2013-09-06 16:56:03,264 WARN (Nuxeo Async Events 1-4) [Transaction] Unable to enlist XAResource org.apache.geronimo.transaction.manager.WrapperNamedXAResource@be5bd3, errorCode: -6
      javax.transaction.xa.XAException: Already started

      One way of reproducing is to break in a seam request thread and invoke the log-out action.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: