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

bundle geronimo-servlet_2.5_spec/1.2 may cause various wiring chain issues

XMLWordPrintable

    • % %
    • Sprint 7 - towards CR2

      Bundle mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2 can get to fuse 6.3 through some feature and it causes various wiring chain issues like

      [INFO ][FeaturesInstallTest:110]  Testing feature activemq-camel, (454 of 476)
      [INFO ][FuseSSHClient:25]  Executing command: features:install activemq-camel/1.2.0.redhat-630067
      [ERROR][FeaturesInstallTest:125]  Failed to install feature 'Feature "activemq-camel" (1.2.0.redhat-630067) currently uninstalled  from fabric-1.2.0.redhat-630067':
      Error executing command: Could not start bundle mvn:org.apache.activemq/activemq-osgi/5.11.0.redhat-630067 in feature(s) activemq-client-5.11.0.redhat-630067: Uses constraint violation. Unable to resolve bundle revision org.apache.activemq.activemq-osgi [213.0] because it is exposed to package 'javax.servlet' from bundle revisions javax.servlet-api [81.0] and org.apache.geronimo.specs.geronimo-servlet_2.5_spec [1209.0] via two dependency chains.
      
      Chain 1:
        org.apache.activemq.activemq-osgi [213.0]
          import: (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=4.0.0)))
           |
          export: osgi.wiring.package=javax.servlet
        javax.servlet-api [81.0]
      
      Chain 2:
        org.apache.activemq.activemq-osgi [213.0]
          import: (&(osgi.wiring.package=org.springframework.web.servlet)(version>=3.0.0)(version<=5.0.0))
           |
          export: osgi.wiring.package=org.springframework.web.servlet; uses:=javax.servlet.http
        org.apache.servicemix.bundles.spring-webmvc [483.0]
          import: (&(osgi.wiring.package=javax.servlet.http)(version>=2.4.0)(!(version>=4.0.0)))
           |
          export: osgi.wiring.package=javax.servlet.http; uses:=javax.servlet
          export: osgi.wiring.package=javax.servlet
        org.apache.geronimo.specs.geronimo-servlet_2.5_spec [1209.0]
      [INFO ][FeaturesInstallTest:130]  Found 4 bundles causing error in installing activemq-camel.
      [ERROR][FeaturesInstallTest:133]  Fetching related bundle with cmd: osgi:list -t 0 -l | grep --color never '(1209|213|483|81)'
      [INFO ][FuseSSHClient:25]  Executing command: osgi:list -t 0 -l | grep --color never '(1209|213|483|81)'
      [ERROR][FeaturesInstallTest:135]  Related bundles are:
      [  81] [Active     ] [            ] [       ] [   30] mvn:javax.servlet/javax.servlet-api/3.1.0
      [ 213] [Installed  ] [            ] [       ] [   50] mvn:org.apache.activemq/activemq-osgi/5.11.0.redhat-630067
      [ 483] [Installed  ] [            ] [       ] [   30] mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-webmvc/3.2.16.RELEASE_1
      [1209] [Active     ] [            ] [       ] [   80] mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2
      

      Affected features

      • activemq-camel
      • fabric-rest
      • spring-security
      • spring-struts
      • spring-test
      • spring-web
      • spring-web-portlet

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

                Created:
                Updated:
                Resolved: