Bug 777553 (SOA-56)

Summary: jBPM Concurrent JobExecutors can process the same job in parallel
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBPM - within SOAAssignee: Tom Baeyens <mail>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 IR2   
Target Milestone: ---   
Target Release: 4.2 IR9   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-56
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Linux 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 14:56:37 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux MySQL 5.0.22
Last Closed: 2008-01-16 11:19:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
expl.tar.gz none

Description Len DiMaggio 2007-10-17 14:51:39 UTC
project_key: SOA

Project issue logged in JBPM-1072

Attached is a simple test case that
1) Deploys process definition with two nodes
2) Starts 20 executor threads
2) Starts the process instance that will asynchronously execute action on the second node
4) The second node writes a record to the database

The test case needs to be executed multiple times to see the incorrect behaviour.
This is an example of run output
Isol 8
Action 1
Success 0
Failure 0
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2
Action 2 1
Action 2 1
Action 2
Action 2 1

Explanation of the outcome
9 job executors successfully executed the node action (same job) including database operation. All database operations were comitted (9 new records were created)

Test case is TestMultiJobExecutor

Comment 1 Len DiMaggio 2007-10-17 14:52:02 UTC
Link: Added: This issue depends JBPM-1072


Comment 2 Len DiMaggio 2007-10-17 15:56:39 UTC
Attachment: Added: expl.tar.gz


Comment 3 Len DiMaggio 2007-12-13 13:47:33 UTC
Current disposition for this JIRA:

* SOA-54 and SOA-55 and SOA-56- Mark these as 'resolved', reopen if made necessary - unlikely - by jBPM rework
 * JBPM-1071, JBPM-1072 - leave these open as they are jBPM issues
* SOA-195 - New JIRA to require SOA-P to document in Release Notes that when jBPM is used then it is not safe to use MySQL on Linux
* SOA-196 - The jBPM does not work with MySQL/Linux combo - mark as fix in 4.3
* JBPM-1095- Project bug for SOA-196 

Comment 4 Len DiMaggio 2007-12-13 13:49:46 UTC
See resolution in SOA-54 and 55.