Hello.
I'll send you a project as described when our first tests work
with a single bundle, which is not the case today. Indeed, we're
experiencing problems, like many seem to have experienced before,
to package and install drools on ServiceMix.
We're testing first a simple bundle owning its local kmodule.xml
and its drl files, but this doesn't work. I have had a look to you
example projects, and some of them indeed seem to do what we need,
using the osgi integration.
The project itself only depends on two libraries (Kie API and
Drools compiler), but when we've tried to install them, we've
discovered all the transitive dependancies that we must take into
account to add the OSGi integration module that is supposed to
handle classloader troubles.
We are trying to build a Karaf Feature of the 6.0.1 Final version
for our Karaf environment, producing a KAR file with maven, but
many dependant JAR's manifests mention Import-Package entries that
do not appear in the maven graph and we've spent 2 days looking
one by one to resolve deployment failures and/or conflicts.
Have you any advice about building a (minimalist) Karaf feature
for Drools 6.0.1 ?
I've seen an available feature for a more recent version of Karaf,
but our ServiceMix 4.5.3 doesn't expose the needed dependancies.
I've also see posts about a new KieClasspathContainer constuction
method passing a classloader, but this method, if I'm not wrong
only appears on version 6.1.0 Beta3.
Is there any reason to use this beta instead of the last final
version ?
Thanks for you help.
Regards.
Ephemeris Lappis
Le 13/05/2014 15:46, Charles Moulliard a écrit :