[rules-users] drools 6 and osgi

pantcaser alvaro.pantoja at nortia-in.es
Thu Jun 20 10:26:15 EDT 2013


Hi,

I moved from 5.5.0 to 6.0.0.Beta two weeks ago to test OSGi integration,
since I came across in 5.5.0 some split-package issues. 

Like you say, in this last version classloading issues appear, although
thankfully no more split-packages between bundles are present (afaik)

To get rid of the classloading issues, I just had to add a
"DynamicImport-Package:*" to "kie-api-internal" bundle (the confictive one)
descriptor, to make it import dynamically all the packages that it needs,
i.e. those not explicitlly imported

I'm using a very small set of funcionallity of the Drools platform (just
rules, templates and DSL), so maybe this approach does not apply to you 

This is a rough solution, but it worked at least for test/evaluation
pourposes. Including specific import packages in bundle(s) descriptor(s)
would be a nicest one.

Regards,

--
Álvaro



--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-drools-6-and-osgi-tp4024337p4024431.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list