Details
Description
I try to run DOSGi (single bundle distribution) on the JOnAS OSGi / JavaEE server.
It works if I don't activate servlets 3.0 .
But if I activate the (Java EE 6) Servlet 3.0 in JOnAS, There is a conflict that prevents the bundle to be resolved:
- CXF-DOSGi imports and exports javax.servlet in the [2.3.0;2.6.0) range. it provides javax.servlet through the inner pax-webservice-0.5.jar bundle.
- But it also import org.osgi.service.http (1>=2) that is served by the compendium. The compendium exports javax.servlet.http that uses javax.servlet, the latter being exported in version 3.0 by a JOnAS bundle.
This results in a conflict that prevents the bundle to be resolved.
Would it be possible to release the constraint of javax.servlet < 2.6 ?
If I'd switched to the multiple bundle distribution, would it solve the problem ?