Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4946

wiring chain issue with package javax.servlet.http

XMLWordPrintable

    • % %
    • 6.3 Sprint 3 (Feb 29 - Mar 25)

      This issue affects lot of other features depending on http servlet api.

      Steps to reproduce

      • start fuse 6.3 build 015
      • features:install features:install spring-dm-web
      JBossFuse:karaf@root> features:install spring-dm-web
      Error executing command: Could not start bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-webmvc/3.2.12.RELEASE_2 in feature(s) spring-web-3.2.12.RELEASE_2: Uses constraint violation. Unable to resolve bundle revision org.apache.servicemix.bundles.spring-webmvc [295.0] because it is exposed to package 'javax.servlet.http' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_3.0_spec [145.0] and javax.servlet-api [82.0] via two dependency chains.
      
      Chain 1:
        org.apache.servicemix.bundles.spring-webmvc [295.0]
          import: (&(osgi.wiring.package=javax.servlet.http)(version>=2.4.0)(!(version>=4.0.0)))
           |
          export: osgi.wiring.package=javax.servlet.http
        org.apache.geronimo.specs.geronimo-servlet_3.0_spec [145.0]
      
      Chain 2:
        org.apache.servicemix.bundles.spring-webmvc [295.0]
          import: (&(osgi.wiring.package=org.springframework.web.accept)(version>=3.2.12.RELEASE)(!(version>=3.3.0)))
           |
          export: osgi.wiring.package=org.springframework.web.accept; uses:=javax.servlet.http
        org.apache.servicemix.bundles.spring-web [294.0]
          import: (&(osgi.wiring.package=javax.servlet.http)(version>=2.4.0)(!(version>=4.0.0)))
           |
          export: osgi.wiring.package=javax.servlet.http
        javax.servlet-api [82.0]
      

      Related bundles:

      JBossFuse:karaf@root> osgi:list -t 0 -l | grep '(82|294|295|145)'
      [  82] [Active     ] [            ] [       ] [   30] mvn:javax.servlet/javax.servlet-api/3.1.0
      [ 145] [Active     ] [            ] [       ] [   80] mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0
      

              ggrzybek Grzegorz Grzybek
              jludvice Josef Ludvicek (Inactive)
              Josef Ludvicek Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: