Hello

czw., 29 kwi 2021 o 18:47 Pablo Beltran <[email protected]> napisał(a):

> I deleted allt the *org.osgi.service.http.** packages from the
> <Export-Package> section and rebuilt the  *pax-web-api* bundle and now it
> works! Thank you!!
>

Great! OSGi enforces some discipline, but if you comply, the project is
easy to maintain.

regards
Grzegorz Grzybek


>
> On Wednesday, April 28, 2021 at 7:34:26 PM UTC+2 [email protected] wrote:
>
>> Hello
>>
>> Did you install pax-web-api bundle as well? this bundle exports
>> "org.osgi.service.http" package, so you may have
>> "org.osgi.service.http.HttpService" interface loaded from different
>> bundles... I'm not sure about the bundle which provides
>> "org.eclipse.equinox.http.servlet.internal.HttpServiceImpl" class...
>>
>> regards
>> Grzegorz Grzybek
>>
>> śr., 28 kwi 2021 o 17:30 Pablo Beltran <[email protected]> napisał(a):
>>
>>> Hi,
>>>
>>> I've installed Pax Web Extender War 7.4.1 on Equinox with the
>>> ServletBridge.
>>> .
>>>
>>> Then I activated a simple WAB and got this error:
>>>
>>> java.lang.ClassCastException:
>>> org.eclipse.equinox.http.servlet.internal.HttpServiceImpl cannot be cast to
>>> org.osgi.service.http.HttpService
>>>
>>> Please see this recorded debug session:
>>>
>>> [image: castexception.gif]
>>>
>>> Any idea?
>>>
>>> Pablo
>>>
>>> --
>>> --
>>> ------------------
>>> OPS4J - http://www.ops4j.org - [email protected]
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "OPS4J" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ops4j/d73724ee-33ac-4274-82c5-71b046778df7n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ops4j/d73724ee-33ac-4274-82c5-71b046778df7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ops4j/1ef18ebd-517c-46f9-8dc6-cfcb9707da3dn%40googlegroups.com
> <https://groups.google.com/d/msgid/ops4j/1ef18ebd-517c-46f9-8dc6-cfcb9707da3dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/CAAdXmhrP8Jj1vVqLRiO%2B1fFo2M%3DcPzK0o2afJ5%2B95jddqfXusg%40mail.gmail.com.

Reply via email to