Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5649

txmanager could try to replace dead XAResources in commit and rollback tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2, 3.0.0
    • 2.2.1, 3.0.0
    • transaction manager
    • Security Level: public (Regular issues)
    • None

    Description

      Generally if a RM crashes, outbound connections to it need to be reestablished. So if we have a in-doubt tx using an outbound connection, we should try to get a new XAResource to finish up the branch in the CommitTask and proposed RollbackTask.

      AFAIK inbound connections will automatically reestablish connections and use the RETRY error code so we don't need to do this for inbound. I still need to find out which error codes indicate that we should get a new connection and try again.

      Attachments

        1. GERONIMO-5649-2.patch
          44 kB
          David Jencks
        2. GERONIMO-5649-1.patch
          42 kB
          David Jencks

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: