Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4795

Servlet API 3.x not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • webconsole-4.2.6
    • webconsole-4.2.16
    • Web Console
    • None

    Description

      It seems that webconsole along it's plugins import javax.servlet.*;version=2.4 version only. Newest Pax Web for instance uses 3.x and thus these bundles do not resolve.

      As a solution I propose opening up the version range as per
      http://blog.osgi.org/2014/09/portable-java-contracts-for-javax.html

      Require-Capability: osgi.contract; filter:="(&(osgi.contract=JavaServlet)(version>=2.4))",
      Import-Package: javax.servlet, javax.servlet.http 
      

      PS. webconsole-4.2.6-all.jar isn't available in the maven repo, but I assume it would have still this same "defect" as the previous ones.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            tuomas_kiviaho Tuomas Kiviaho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: