Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4439

Multiple RuntimeEngines not getting disposed

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            selrahal Salem Elrahal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: