[rules-users] Drools 5.x OSGI in Equinox
Mark Proctor
mproctor at codehaus.org
Thu Dec 30 13:33:24 EST 2010
On 30/12/2010 17:55, Gregory Mace wrote:
> Hi,
> I've tried to build plugin from OSGI bundles ( downloaded from here:
> http://www.jboss.org/drools/downloads.html) and use code from
> SimpleOsgiTest.java, but my bundle context always returns null for the
> serviceReference. Is there a good step-by-step for how to do this?
Not really, it's still a "work in progress". Drools trunk has further
OSGi classloader improvements as we learn new things. The only real
guide is the SpringDM based unit test that is there, but looks like you
are following that too.
Nearly every case we've had where people have had problems was because
they didn't have the right dependnecies. OSGi is very strict and when
not setup properly it's almost impossible debug, not for the faint hearted.
Mark
>
> Thx
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101230/37e715a0/attachment.html
More information about the rules-users
mailing list