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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.0-M3
    • None
    • transaction manager
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: