Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1444

Subsystem does not install because feature subsystem exports all constituents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • subsystem-2.0.6, subsystem-2.0.8
    • subsystem-2.0.10
    • Subsystem
    • None
    • karaf

    Description

      The resolver will try endlessly to resolve the situation presented to it. You do have to restart the subsystem core bundle before this happens because after that the feature exports all constituent capabilities.

      While debugging it shows the following messages:

      org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource nl.capesystemsintegration.testcu.bus.testms.container-infra [org.apache.aries.subsystem.core.internal.BasicSubsystem@73ed4f] because it exports package 'net.sf.saxon.sxpath' and is also exposed to it from resource org.apache.servicemix.bundles.saxon [osgi.identity; osgi.identity="org.apache.servicemix.bundles.saxon"; type="osgi.bundle"; version:Version="9.4.0.7_1"] via the following dependency chain:

      nl.capesystemsintegration.testcu.bus.testms.container-infra [org.apache.aries.subsystem.core.internal.BasicSubsystem@73ed4f]
      import: (&(osgi.wiring.package=net.sf.saxon.trans)(&(version>=9.4.0)(!(version>=10.0.0))))

      export: osgi.wiring.package: net.sf.saxon.trans; uses:=net.sf.saxon.sxpath
      export: osgi.wiring.package=net.sf.saxon.sxpath
      org.apache.servicemix.bundles.saxon [osgi.identity; osgi.identity="org.apache.servicemix.bundles.saxon"; type="osgi.bundle"; version:Version="9.4.0.7_1"]

      Attachments

        Issue Links

          Activity

            People

              jwross@us.ibm.com John Ross
              baselzinga Bas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: