On Thu, Apr 30, 2009 at 11:32 PM, Niclas Hedhman <[email protected]> wrote:
> On Fri, May 1, 2009 at 9:52 AM, Richard Wallace
> <[email protected]> wrote:
>> Hey all,
>>
>> I'm running into a problem where I've got the
>> osgi_R4_compendium-1.0.jar and the Pax Web bundle jar load in Felix.
>> I'm running into a problem where one bundle is using the HttpService
>> from one and another (Peaberry) is trying to use the one from the
>> other, causing a bunch of problems.  Any reason the HttpService can't
>> be taken out of the Pax Web bundles?
>
> Exactly what is the problem, because OSGi is supposed to handle
> exactly(!) this kind of situation and ONLY choose one of the exporters
> of the packages, and consolidate everything under a single
> classloader.
>
> Is it a version problem, or is it missing Import/Export-Package of
> something in Pax Web?
>

I was mistaken, I think.  I was using Peaberry to do the service
imports and getting a "NoClassDefFound: javax/servlet/Servlet" when it
tried to import the HttpService.  But I switched to using straight
ServiceTrackers and everything seems to be working now.  I'll follow
up on the Peaberry list with Stuart.

Thanks,
Rich

>
> Cheers
> --
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
>
> I  live here; http://tinyurl.com/2qq9er
> I  work here; http://tinyurl.com/2ymelc
> I relax here; http://tinyurl.com/2cgsug
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to