Bug 778118 (SOA-628)

Summary: Sanity check the jBPM/ESB integration.
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Mark Little <mark.little>
Component: JBPM - within SOAAssignee: Tom Baeyens <mail>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CP02CC: mash
Target Milestone: ---   
Target Release: CONTINUING   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-628
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-28 20:23:25 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mark Little 2008-07-14 12:08:10 UTC
Date of First Response: 2008-07-14 08:24:50
project_key: SOA

The current ESB/jBPM integration is the second effort and is much better than the first. There have been a few issues since it was implemented and they have been addressed (in jBPM or ESB). However, it makes sense for someone from the jBPM team to take a look at the integration to see if it makes sense and whether there are any issues waiting to be found.

Comment 1 Tom Baeyens 2008-07-14 12:24:50 UTC
Couple of things need to be verified here.

1) transactions.  are the JTA transactions properly integrated with jBPM ?  Is there a retry policy for transactions that failed because of optimistic locking failures ?  Does it work correctly for rollback scenarios in case of different resources being used by ESB and jBPM and...

2) suite setup.  in jpdl-suite, we have tried to create an easy-to-unzip distribution that contains out of the box, jbpm runtime installation, jbpm deployed on jboss with a preloaded jBPM DB containing an example and some example users.  and the designer.  The preconfigured database, the examples and the documentation needs to be reviewed.  Maybe the jBPM build can be improved so that it is easier to build the SOA platform and so that the examples of jBPM 3 actually get tested automatically.

Comment 2 Tom Baeyens 2008-07-16 13:54:30 UTC
Link: Added: This issue is related to JBPM-1198


Comment 3 Tom Baeyens 2008-07-16 13:55:42 UTC
Link: Added: This issue is related to JBPM-1287


Comment 4 Tom Baeyens 2008-07-16 14:03:31 UTC
Link: Removed: This issue is related to JBPM-1287 


Comment 5 Tom Baeyens 2008-07-16 14:03:37 UTC
Link: Removed: This issue is related to JBPM-1198 


Comment 6 Tom Baeyens 2008-07-16 14:10:15 UTC
Link: Added: This issue is related to JBPM-1395


Comment 7 Mark Little 2008-08-16 20:53:44 UTC
Thomas, where does this currently stand?

Comment 8 Thomas Diesler 2008-08-18 07:13:52 UTC
I am looking at it

Comment 9 Mark Little 2008-08-18 09:24:18 UTC
Wonderful. Many thanks :-)

Comment 10 Thomas Diesler 2009-01-15 15:15:02 UTC
(04:09:05 PM) kconner: Any 'integration' tests would just be between the jBPM configuration and the SOA platform, not ESB
(04:09:27 PM) kconner: Trevor has pasted the download link into #jbosssoa
(04:09:43 PM) tdi: There is a jBPM action in the ESB, right?
(04:10:13 PM) kconner: Only for sending to an ESB service, nothing more
(04:10:20 PM) kconner: We already have tests for that
(04:10:27 PM) kconner: This issue is not related to that action
(04:11:51 PM) tdi: If I want to answer the question "are JTA transactions properly integrated with jBPM", where do I create a test for that?
(04:12:23 PM) kconner: You create any jBPM specific test to see whether the transaction configuration of the job scheduler is correct
(04:12:40 PM) kconner: That is the issue
(04:12:57 PM) tdi: ok, where do I do that?
(04:12:59 PM) kconner: This is about generic jBPM and its configuration, nothing more
(04:13:35 PM) kconner: I would guess that the correct place for jBPM tests is within jBPM
(04:13:45 PM) kconner: If it is SOA specific then you may want to ask Trev to add it to their build
(04:13:48 PM) kconner: (or QE)
(04:14:01 PM) kconner: There is no ESB involvement with this

Comment 11 Kevin Conner 2009-01-15 15:21:42 UTC
For completeness ;)

(15:05:06) tdi: I want to have a look at https://jira.jboss.org/jira/browse/SOA-628
(15:05:21) kconner: ok
(15:05:31) tdi: whats the esb bracnch I should be using?
(15:05:46) kconner: You need to be using a SOA release
(15:06:01) kconner: The SOA guys build jBPM and overlay ours
(15:06:15) kconner: Which version are you looking at?
(15:06:19) kconner: SOA 4.3 GA?
(15:06:54) tdi: I'd like to create ESB/jBPM3 integration tests somewhere
(15:07:05) kconner: ??
(15:07:59) tdi: shall we talk on the phone for a sec? this might be quicker
(15:08:38) kconner: Sorry, I thought the purpose of the task was for someone to check the configuration of jBPM under SOA
(15:08:42) kconner: Is that not correct?
(15:09:05) kconner: Any 'integration' tests would just be between the jBPM configuration and the SOA platform, not ESB
(15:09:27) kconner: Trevor has pasted the download link into #jbosssoa
(15:09:44) tdi: There is a jBPM action in the ESB, right?
(15:10:13) kconner: Only for sending to an ESB service, nothing more
(15:10:20) kconner: We already have tests for that
(15:10:27) kconner: This issue is not related to that action
(15:11:52) tdi: If I want to answer the question "are JTA transactions properly integrated with jBPM", where do I create a test for that?
(15:12:23) kconner: You create any jBPM specific test to see whether the transaction configuration of the job scheduler is correct
(15:12:40) kconner: That is the issue
(15:12:58) tdi: ok, where do I do that?
(15:13:00) kconner: This is about generic jBPM and its configuration, nothing more
(15:13:35) kconner: I would guess that the correct place for jBPM tests is within jBPM
(15:13:45) kconner: If it is SOA specific then you may want to ask Trev to add it to their build
(15:13:48) kconner: (or QE)
(15:14:01) kconner: There is no ESB involvement with this
(15:14:16) tdi: ok, thanks
(15:15:27) kconner: If you do want to look at the ESB code then I can point you in the right direction
(15:15:39) kconner: But I think the real issue is the jBPM configuration within SOA
(15:15:41) tdi: yes, please
(15:17:00) kconner: The current SOA code is http://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/platform/JBESB_4_4_SOA_4_3_GA/product/services/jbpm/src/main/java
(15:17:08) kconner: I am going to go through it soon and simplify it

Comment 12 Thomas Diesler 2009-02-11 11:19:58 UTC
Link: Added: This issue depends JBPM-1395


Comment 13 Thomas Diesler 2009-02-11 11:20:15 UTC
Link: Removed: This issue is related to JBPM-1395 


Comment 14 Thomas Diesler 2009-03-10 09:41:02 UTC
Tom, could you please reassign appropriately.