[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

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:

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!

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- 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