Bug 777679 (SOA-191)

Summary: We need to add jBPM runtime to SOA-P to support creating/compiling jBPM process projects
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBPM - within SOA, Build ProcessAssignee: trev <tkirby>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 Beta 1CC: max.andersen
Target Milestone: ---   
Target Release: 4.2 Beta 2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-191
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-21 14:56:11 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:
Bug Depends On:    
Bug Blocks: 777719    

Description Len DiMaggio 2007-11-29 20:06:03 UTC
Date of First Response: 2007-11-29 18:58:59
project_key: SOA

   In looking at RHDS cr1 and SOA-P IR7, I found a situation that may cause some user confusion.

  In summary: In order for users who install RHDS and SOA-P to create new jBPM process projects, even projects based on the SOA-P bpm*_orchestration quickstarts, they will have to install jBPM 3.2.2 from jboss.org

  Here's the problem: In order to create a new jBPM process project in RHDS (or eclipse), a jBPM "runtime" needs to be defined in Preferences->jBPM-runtime. This runtime has to include the /src dir packaged under jBPM 3.2.2 - for example:

---------------
[ldimaggi@ldimaggi src]$ pwd
/opt/jbpm_Nov/jbpm-jpdl-3.2.2/src
[ldimaggi@ldimaggi src]$ ll
total 32
drwxr-xr-x 4 ldimaggi ldimaggi 4096 Sep 12 13:59 enterprise
drwxr-xr-x 4 ldimaggi ldimaggi 4096 Sep 12 13:59 identity
drwxr-xr-x 4 ldimaggi ldimaggi 4096 Sep 12 13:59 jpdl
drwxr-xr-x 3 ldimaggi ldimaggi 4096 Sep 12 13:59 resources
---------------

  We do not currently package this in either SOA-P or RHDS. Users will have to download it separately.

  Note - that it is possible to create a new Java project, and import (file system import) the contents of a SOA-P bpm*_orchestration quickstart into that project and deploy it, but it won't be possible to compile the project.

  But - if a user creates a new (empty) jBPM process project, based on that same SOA-P bpm*_orchestration quickstart, the project creation cannot be completed without installing a jBPM runtime.

  So - do we want to require SOA-P users to download jBPM from jboss.org to compile jBPM process projects (and not include the runtime in SOA-P)? This seems broken - why not include it in SOA-P?

Comment 1 Mike Brock 2007-11-29 23:58:59 UTC
This sounds like a meeting agenda item.  I don't have the answers to these questions.

Comment 2 Len DiMaggio 2007-12-04 01:54:05 UTC
Link: Added: This issue is related to GPD-192


Comment 4 Len DiMaggio 2007-12-10 16:07:26 UTC
FYI - not a surprise - the situation is the same in the just released:

JBoss Developer Studio
Build id: 200712091205-nightly

Comment 7 Len DiMaggio 2007-12-14 13:25:14 UTC
Link: Added: This issue is a dependency of SOA-235


Comment 8 Len DiMaggio 2007-12-14 23:40:27 UTC
Link: Added: This issue related JBDS-227


Comment 9 Max Rydahl Andersen 2007-12-17 07:07:22 UTC
*How* is this going to be packaged ?

I assume you will create a seperate root dir in the distro called jbpm or something similar
(just so we don't have to repeat the saga over putting random framework dirs at random places
inside jboss as were done about seam ;)

Comment 10 Koen Aers 2007-12-18 16:30:29 UTC
Max is right (again!). Just use the jbpm-jpdl.zip file, expand it as a root folder in the SOA distribution, and done. 

Comment 11 Max Rydahl Andersen 2007-12-18 16:35:33 UTC
well - I guess it needs to be a custom built as all the other parts of the platforms...but yes - using the plain distro sounds like the only right thing to do.

Comment 12 trev 2007-12-18 16:44:59 UTC
Yes. so at the top level in the distribution there will be the appserver root and a directory for each component that needs to include runtimes etc.
 appserver                      jbpm       seam   
  |                                        |               |
bin, server etc.         src etc.        bits needed for seam

Comment 14 trev 2007-12-19 18:18:33 UTC
package target now adds contents of jbpm-jpdl.zip to top level of both versions.

Comment 15 Max Rydahl Andersen 2007-12-19 18:20:19 UTC
i'm curious - what does "both versions" mean ? Isn't there just one SOA-P platform ?

Comment 16 trev 2007-12-20 09:32:03 UTC
no there are two, one embedded in EAP and one standalone.

Comment 17 Max Rydahl Andersen 2007-12-20 09:36:34 UTC
ah ok. thanks for clarifying ;)

Anywhere I could get a copy of these or info on the differences in file structure ? (This is to know how tooling should autodetect it)

Comment 18 Jiri Pechanec 2007-12-20 12:58:01 UTC
The file structure is
soa-4.2.0.beta1.zip
    - soa-4.2.0.beta1.zip    
        - jboss-as
        - seam
    - jbpm-jpdl

but should be
soa-4.2.0.beta1.zip
    - soa-4.2.0.beta1.zip    
        - jboss-as
        - seam
        - jbpm-jpdl

Equivalent also for standalone
   

Comment 19 trev 2008-01-04 10:08:59 UTC
There is no as directory equivalent in the standalone so I've left the jbpm at the top level 

Comment 20 Max Rydahl Andersen 2008-01-04 10:14:24 UTC
i'm sorry, but that sounds like you put jbpm in the as directory !? ...that was *not* what should happen.

Comment 21 trev 2008-01-04 10:44:46 UTC
it's at the same level as seam. 

soa-4.2.0.beta2.zip
        - jboss-as 
                    - bin etc.
        - seam
        - jbpm-jpdl 

Standalone-soa-4.2.0.beta2.zip
        -standalone-soa-4.2.0.beta2
                       -bin etc
        - jbpm-jpdl 



Comment 22 Max Rydahl Andersen 2008-01-04 13:25:31 UTC
ok good...but I fail to see what your comment was about then ,) 

Comment 23 Len DiMaggio 2008-01-21 14:55:29 UTC
Link: Added: This issue is related to SOA-334


Comment 24 Len DiMaggio 2008-01-21 14:56:11 UTC
Verified in beta2 build.

Comment 25 Len DiMaggio 2010-09-20 16:09:41 UTC
Link: Added: This issue related SOA-2332


Comment 26 Len DiMaggio 2010-10-20 19:03:40 UTC
Link: Added: This issue related SOA-2448