CXF DOSGi single bundle distribution does not work with servlets 3.0
--------------------------------------------------------------------

                 Key: DOSGI-93
                 URL: https://issues.apache.org/jira/browse/DOSGI-93
             Project: CXF Distributed OSGi
          Issue Type: Bug
          Components: Product
    Affects Versions: 1.2
         Environment: JDK 1.6 / JOnAS 5 / OSGi 4.2.0 (felix 3.2.0)
            Reporter: François Waeselynck


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 
?



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to