Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2120

Recover if a transaction is in progress but a JTA Synchronization callback cannot be registered

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.3.4.Final, 3.0.0.Alpha16
    • None
    • Events
    • None

      This might happen e.g. if an event is fired after the transaction is marked for rollback. We should catch javax.transaction.RollbackException and java.lang.IllegalStateException (I'm not sure about javax.transaction.SystemException) and notify all transactional observers immediately, except for observers with TransactionPhase.AFTER_SUCCESS (these should be ignored).

      See also CDI-578 and OWB-1111.

            tremes1@redhat.com Tomas Remes
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: