[jboss-user] [jBPM] - OSGi issues: How to deploy jBPM 5.4.0 in Fuse ESB 4.4.1?

patrice godard do-not-reply at jboss.com
Tue Jan 22 03:46:46 EST 2013


patrice godard [https://community.jboss.org/people/loik] created the discussion

"OSGi issues: How to deploy jBPM 5.4.0 in Fuse ESB 4.4.1?"

To view the discussion, visit: https://community.jboss.org/message/793422#793422

--------------------------------------------------------------
Hi,
I'm trying to deploy jBPM 5.4.0 in Apache-ServiceMix-4.4.1-Fuse-07-11 and I get the following dependency issues:

I dropped these bundles in $FUSE_HOME/deploy:
+drools-compiler-5.5.0.Final.jar+
+drools-core-5.5.0.Final.jar+
+jaxb-xjc-2.1.9-osgi.jar+
+jbpm-bpmn2-5.4.0.Final.jar+
+jbpm-flow-5.4.0.Final.jar+
+jbpm-flow-builder-5.4.0.Final.jar+
+jbpm-persistence-jpa-5.4.0.Final.jar+
+knowledge-api-5.5.0.Final.jar+
+knowledge-internal-api-5.5.0.Final.jar+
+mvel2-2.1.1.Final.jar+
+protobuf-java-2.4.1.jar+

These bundles deploy successfully.
Then I deploy my jBPM client bundle, that makes use of the jBPM API and I get the following error:

+Error executing command: Unable to resolve module jbpm-workflowmanager [249.24] because it is exposed to package 'org.drools' from+
 +org.drools.core [284.0] and org.drools.api [279.0] via two dependency chains.+


+Chain 1:+
+  jbpm-workflowmanager [249.24]+
+    import: (&(package=org.drools)(version>=5.5.0))+
+     |+
+    export: package=org.drools+
+  org.drools.core [284.0]+


+Chain 2:+
+  jbpm-workflowmanager [249.24]+
+    import: (&(package=org.drools.runtime)(version>=5.5.0))+
+     |+
+    export: package=org.drools.runtime; uses:=org.drools+
+    export: package=org.drools+
+  org.drools.api [279.0]+



I'm wondering why both the Drools Core (bundle #284) and Knowledge API (bundle #279) both export the org.drools package?
This is what seems to be causing the issue.
The jBPM 5.4.0 jars are supposed to be OSGi-ready so I'm wondering what's wrong (I'm no OSGi dependency management expert).

Any help is very welcome!
Pat.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/793422#793422]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130122/fc6b6242/attachment.html 


More information about the jboss-user mailing list