Hello,

 

I am having troubles getting the 5.4.0.Final OSGi bundle to install/activate on Apache Karaf 2.2.7.

 

Note - I have already fixed the JAXB/XJC problem as discussed here:

https://issues.jboss.org/browse/JBRULES-3192

 

So following from this I have tried two different approaches:

 

a) Drop the OSGi bundle jars into Karaf deploy/ folder

b) Using Karaf Console

 

The latter method is discussed here:

http://drools.46999.n3.nabble.com/drools-osgi-issue-td4017799.html

 

The console session for (b) was as follows:

osgi:install -s wrap:mvn:com.google.protobuf/protobuf-java/2.4.1

osgi:install -s wrap:mvn:org.antlr/antlr-runtime/3.3

osgi:install -s wrap:mvn:javax.persistence/persistence-api/1.0.2

osgi:install -s mvn:org.mvel/mvel2/2.1.0.drools16

osgi:install -s wrap:mvn:com.thoughtworks.xstream/xstream/1.4.2

osgi:install -s wrap:mvn:org.drools/drools-spring/5.4.0.Final

osgi:install -s mvn:org.drools/knowledge-api/5.4.0.Final

osgi:install -s mvn:org.drools/knowledge-internal-api/5.4.0.Final

osgi:install -s mvn:org.drools/drools-core/5.4.0.Final

NullPointerException (no stack trace)

 

Clearly the 5.4.0.Final bundle, as is, does not work in Apache Karaf 2.2.7.

 

So my question is this:

Has the fix in the post above been applied to a patch that I can download, please? Or must I wait for 5.5.0.Beta1?

 

Otherwise, is there a previous version of Drools OSGi bundles that does work with Apache Karaf?

 

Many thanks for any pointers.

 

Cheerio,

Nic