Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-93

CXF DOSGi single bundle distribution does not work with servlets 3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3
    • Product
    • None
    • JDK 1.6 / JOnAS 5 / OSGi 4.2.0 (felix 3.2.0)

    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 ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            waeselynck François Waeselynck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: