Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-895

[6.0.3.RP#2] Multiple RuntimeEngines not getting disposed

XMLWordPrintable

      +++ This bug was initially created as a clone of Bug #1163965 +++

      Platform BZ for https://issues.jboss.org/browse/JBPM-4439

      ----------------------------------------------------------

      Multiple RuntimeEngines are not disposed properly when created in the same Transaction. When a RuntimeEngine is created there is a transaction synchronization (DisposeSessionTransactionSynchronization) created to dipose it after the transaction commits. All instances of DisposeSessionTransactionSynchronization are identical according to their compareTo method, which is what the TransactionSynchronizationContainer uses when storing them. So only one synchronization gets stored and when the transaction commits there are stale runtime engines present.

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-alazarot Alessandro Lazarotti
              Marek Baluch Marek Baluch
              Marek Baluch Marek Baluch
              Cheng Zhang (Inactive), Ivo Bek, Kris Verlaenen, Maciej Swiderski (Inactive), Marek Baluch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: