Bug 779558 (SOA-1934) - jBPM : Process instances stuck in a fork
Summary: jBPM : Process instances stuck in a fork
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1934
Deadline: 2010-03-08
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - within SOA
Version: 4.3 CP02
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.3 CP04 ER1
Assignee: Alejandro Guizar
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-08 11:37 UTC by Darran Lofthouse
Modified: 2010-03-30 11:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 11:36:18 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 779563 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 779566 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Issue Tracker SOA-1934 0 Critical Closed jBPM : Process instances stuck in a fork 2013-10-04 05:48:22 UTC

Internal Links: 779563 779566

Description Darran Lofthouse 2010-02-08 11:37:23 UTC
Date of First Response: 2010-02-25 15:19:39
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/404803
project_key: SOA

There are problems with a jBPM process which contains a fork/join when running in a cluster.

If run with just one node, the processes end properly, but with two nodes the child tokens don't reactivate the parent token

Any ideas? Such as:
* specifying <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> on the JbpmDS
* trying lock="UPGRADE_NOWAIT" on the join

Comment 1 Len DiMaggio 2010-02-09 15:32:04 UTC
Link: Added: This issue related SOA-1939


Comment 2 Alejandro Guizar 2010-02-15 16:57:34 UTC
Link: Added: This issue incorporates JBPM-2787


Comment 3 Alejandro Guizar 2010-02-16 06:28:36 UTC
Link: Added: This issue is related to SOA-1942


Comment 4 Anne-Louise Tangring 2010-02-25 20:19:39 UTC
Approved, but not required, for SOA 4.3 CP03. If it is not resolved by Due Date, it's out.

Comment 5 Alejandro Guizar 2010-03-11 10:09:38 UTC
JBPM-2787 is done and the fix got positive feedback from the customer. SOA-P team, please close this issue as you see fit.

Comment 6 David Le Sage 2010-03-15 01:16:13 UTC
Draft text for Resolved Issues section of Release Notes:

https://jira.jboss.org/jira/browse/JBPM-2787

    If a user attempted to run a jBPM process on two nodes in a cluster and that process contains a
    join, the child tokens would not reactivate the parent token.

    To prevent concurrent tokens from being stuck in a join node, each of them ends when it enters
    that node. Normally, ending a token would mean it is unable to reactivate its parent but this
    fix restores that ability to it. The join execute method checks that all child tokens have
    ended before it marks the parent token's reactivation flag. The join node has also been made
    asynchronous. As a result of these changes, it is now less likely that a process will become stuck
    in a join.


Comment 7 Marek Baluch 2010-03-30 11:36:18 UTC
Verified on 4.3 CP03.


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