Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3578

Change CMTTxInterceptor.endTransaction() handling of Status.ROLLING_BACK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.ER7
    • None
    • EJB, Transactions
    • None

      See recent comment https://developer.jboss.org/message/950898#950898

      Status.STATUS_COMMITTING:
      Status.STATUS_COMMITTED:
      Status.STATUS_PREPARED:
      Status.STATUS_PREPARING:

      • Someone has called commit in parallel and the transaction is trying to commit so try to commit too: call tm.commit

      I think that TimerCMTTxInterceptor/LifecycleCMTTxInterceptor are using CMTTxInterceptor.endTransaction(), so they shouldn't need changes.

            thjenkin@redhat.com Tom Jenkinson
            thjenkin@redhat.com Tom Jenkinson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: