Bug 1163965 - Multiple RuntimeEngines not getting disposed
Summary: Multiple RuntimeEngines not getting disposed
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: One-off release
Assignee: Alessandro Lazarotti
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks: 1163975 1175901
TreeView+ depends on / blocked
 
Reported: 2014-11-13 19:50 UTC by Alessandro Lazarotti
Modified: 2020-03-27 20:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1175901 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:09:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1142943 0 high CLOSED Multiple RuntimeEngines not getting disposed-JBPM-4439 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBPM-4439 0 Major Resolved Multiple RuntimeEngines not getting disposed 2016-06-03 14:39:47 UTC

Internal Links: 1142943

Description Alessandro Lazarotti 2014-11-13 19:50:48 UTC
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.

Comment 8 Jiri Svitak 2015-01-13 11:52:41 UTC
This bugzilla was target to a one-off patch and was verified by Ivo, see #c3.

Setting to verified status and updating its target release to one-off.

Bugzilla which tracks the fix in 6.1 is BZ1142943 (also mentioned in "See also" section).
Bugzilla which tracks the fix in 6.0.3 rollup patch #2 is BZ1175901.


Note You need to log in before you can comment on or make changes to this bug.