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

Begin on TransactionManager always fails when thread is associated with a Tx

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.0-M3
    • Fix Version/s: None
    • Component/s: transaction manager
    • Labels:
      None

      Description

      The TransactionManager.begin() always throws an exception it thread is already associated with a transaction. This means the following code will fail:

      txManager.getTransaction().commit();
      txManager.begin();

      Also, I'm not sure if transaction.commit() should remove any thread association with the transaction.

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              dain Dain Sundstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: