Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-208

JCA Inflow fails with one phase commit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.3
    • 4.2.2
    • None
    • None

      The TxInflowUnitTestCase is currently failing because of a bug in the subordinate transaction implementation.

      The test creates an inflow through the JCA WorkManager, enlists a single resource and then executes a one phase commit via the XATerminator. The logic in the one phase commit code is, unfortunately, incorrect.

      The code attempts to invoke end on all suspended resources and, if this succeeds, marks the transaction for rollback. The result is that all successful, subordinate, one phase transactions are rolled back.

      The logic should be reversed so that a failure marks the transaction for rollback.

            kconner@redhat.com Kevin Conner (Inactive)
            kconner@redhat.com Kevin Conner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: