JBoss Community

jBPM and OSGi integration

created by annah in jBPM - View the full discussion

Hi!

 

 

I'm trying to run jBPM and Drools inside an OSGi container on Websphere app server. I have my own bundle which should use services provided by Drools and jBPM bundles.

I'm using Drools OSGi bundles downloaded from official site (http://www.jboss.org/drools/downloads), however two of the jBPM bundles don't get activated: org.jbpm.flow.builder and org.jbpm.bpmn2.

 

This is the output I get at the console showing that all drools and jbpm activators get started except for flow.builder and bpmn2 :

[02.05.12. 13:14:46:500 CEST] 00000027 SystemOut     O registering compiler services

[02.05.12. 13:14:46:505 CEST] 00000027 SystemOut     O compiler services registered

[02.05.12. 13:14:46:514 CEST] 00000027 SystemOut     O registering api services

[02.05.12. 13:14:46:516 CEST] 00000027 SystemOut     O registering api : org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl@40d31bc : interface org.drools.builder.KnowledgeBuilderFactoryService

[02.05.12. 13:14:46:516 CEST] 00000027 SystemOut     O api drools services registered

[02.05.12. 13:14:46:518 CEST] 00000027 SystemOut     O registering core  services

[02.05.12. 13:14:46:519 CEST] 00000027 SystemOut     O registering api : org.drools.io.impl.ResourceFactoryServiceImpl@411ebed : interface org.drools.io.ResourceFactoryService

[02.05.12. 13:14:46:521 CEST] 00000027 SystemOut     O registering api : org.drools.impl.KnowledgeBaseFactoryServiceImpl@4120ed2 : interface org.drools.KnowledgeBaseFactoryService

[02.05.12. 13:14:46:522 CEST] 00000027 SystemOut     O registering api : org.drools.marshalling.impl.MarshallerProviderImpl@41228ea : interface org.drools.marshalling.MarshallerProvider

[02.05.12. 13:14:46:522 CEST] 00000027 SystemOut     O registering api : org.drools.marshalling.impl.MarshallerProviderImpl@41228ea : interface org.drools.marshalling.MarshallerProvider

[02.05.12. 13:14:46:522 CEST] 00000027 SystemOut     O core services registered

[02.05.12. 13:14:46:531 CEST] 00000027 SystemOut     O registering flow core services

[02.05.12. 13:14:46:532 CEST] 00000027 SystemOut     O registering api : org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl@41408f9 : interface org.drools.runtime.process.ProcessRuntimeFactoryService

[02.05.12. 13:14:46:532 CEST] 00000027 SystemOut     O registering compiler : org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl@41408f9 : interface org.drools.runtime.process.ProcessRuntimeFactoryService

[02.05.12. 13:14:46:533 CEST] 00000027 SystemOut     O registering api : org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl@4143d84 : interface org.drools.marshalling.impl.ProcessMarshallerFactoryService

[02.05.12. 13:14:46:533 CEST] 00000027 SystemOut     O flow core services registered

.....

 

Has someone managed to get jbpm running inside OSGi?

Am I missing something, are there any other dependencies? These are bundles I added to my OSGi container:

 

com.springsource.antlr  2.7.6   

com.springsource.com.sun.msv.datatype  0.0.0.20060615   

com.springsource.com.sun.tools.xjc  2.1.7   

com.springsource.com.sun.xml.bind  2.1.7   

com.springsource.com.sun.xml.bind.jaxb1  2.1.7   

com.springsource.com.sun.xml.fastinfoset  1.2.2   

com.springsource.com.thoughtworks.xstream  1.3.1   

com.springsource.javax.activation  1.1.1   

com.springsource.javax.xml.bind  2.1.7   

com.springsource.javax.xml.stream  1.0.1   

com.springsource.org.antlr.runtime  3.1.3   

com.springsource.org.apache.xerces  2.9.1   

com.springsource.org.apache.xml.resolver  1.2.0   

com.springsource.org.apache.xmlcommons  1.3.4   

com.springsource.org.dom4j  1.6.1   

com.springsource.org.jvnet.staxex  1.0.0   

com.springsource.org.relaxng.datatype  1.0.0   

com.springsource.org.xmlpull  1.1.4.c   

org.drools.api  5.3.0.Final   

org.drools.compiler  5.3.0.Final   

org.drools.core  5.3.0.Final   

org.drools.decisiontables  5.3.0.Final   

org.jbpm.bpmn2  5.1.2.Final   

org.jbpm.flow.core  5.1.2.Final  

org.jbpm.flow.builder  5.1.2.Final 

org.mvel2  2.1.0.drools4   

Reply to this message by going to Community

Start a new discussion in jBPM at Community