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

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tremes Tomas Remes
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: