Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4996

Missing packages in created instances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.8, 4.1.5
    • 4.0.11, 4.1.6, 4.2.1
    • karaf
    • None
    • java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

      Linux 4.4.0-63-generic Ubuntu

    Description

      Many packages exported by System Bundle (ID 0) are missing in instances different than root instance.

      To reproduce:

      karaf@root()> package:exports -b 0 -p org.apache.xpath
      Package Name                | Version | ID | Bundle Name
      -----------------------------------------------------------------------
      org.apache.xpath.axes       | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.compiler   | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.domapi     | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.functions  | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.jaxp       | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.objects    | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.operations | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.patterns   | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath.res        | 2.7.2   | 0  | org.apache.felix.framework
      org.apache.xpath            | 2.7.2   | 0  | org.apache.felix.framework
      
      karaf@root()> instance:create test
      karaf@root()> instance:start test
      karaf@root()> instance:connect test
      
      karaf@test()> package:exports -b 0 -p org.apache.xpath
      Package Name | Version | ID | Bundle Name
      -----------------------------------------
      karaf@test()>
      

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              rolag Rocco Lagrotteria
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: