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

Some bundles had status changed from "Active" to "Resolved" after fabric was created

    XMLWordPrintable

Details

    • % %

    Description

      I was doing some tests on 6.2.0 with fabric. I found that after I created a fabric, there were always 44 bundles that had changed status from "Active" to "Resolved":

      JBossFuse:karaf@root> list -t 0 |grep -i Resolved|grep -v Host
      [  24] [Resolved   ] [            ] [       ] [   30] Apache Commons Codec (1.10.0)
      [  25] [Resolved   ] [            ] [       ] [   30] Commons Lang (2.6)
      [  26] [Resolved   ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: jasypt (1.9.2.1)
      [  28] [Resolved   ] [            ] [       ] [   30] OPS4J Base - Util - Property (1.5.0)
      [  29] [Resolved   ] [            ] [       ] [   30] OPS4J Base - Lang (1.5.0)
      [  30] [Resolved   ] [            ] [       ] [   30] OPS4J Pax Swissbox :: OSGi Core (1.8.0)
      [  66] [Resolved   ] [            ] [       ] [   80] mvel2 (2.2.1.Final)
      [  67] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: jsch (0.1.51.1)
      [  68] [Resolved   ] [            ] [       ] [   80] Commons Collections (3.2.1)
      [  69] [Resolved   ] [            ] [       ] [   80] Commons BeanUtils (1.8.3)
      [  73] [Resolved   ] [            ] [       ] [   80] Guava: Google Core Libraries for Java (17.0.0)
      [  90] [Resolved   ] [            ] [       ] [   10] JavaMail API (compat) (1.4.7)
      [  93] [Resolved   ] [            ] [       ] [   30] Java Authentication SPI for Containers (1.1)
      [  95] [Resolved   ] [            ] [       ] [   20] Apache XBean OSGI Bundle Utilities (3.18.0)
      [  97] [Resolved   ] [            ] [       ] [   20] Apache XBean :: Classpath Resource Finder (3.18.0)
      [ 115] [Resolved   ] [            ] [       ] [   30] XmlSchema Core (2.2.1)
      [ 116] [Resolved   ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: xmlresolver (1.2.0.5)
      [ 117] [Resolved   ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: FastInfoset (1.2.13.1)
      [ 124] [Resolved   ] [            ] [       ] [   30] jettison (1.3.7)
      [ 130] [Resolved   ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: wsdl4j (1.6.3.1)
      [ 137] [Resolved   ] [            ] [       ] [   80] Scala Standard Library (2.10.4.v20140209-180020-VFINAL-b66a39653b)
      [ 155] [Resolved   ] [            ] [       ] [   80] Commons IO (2.4.0)
      [ 162] [Resolved   ] [            ] [       ] [   80] Apache Aries Transaction Manager (1.1.1)
      [ 164] [Resolved   ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: aopalliance (1.0.0.6)
      [ 171] [Resolved   ] [            ] [       ] [   30] Apache ServiceMix :: Bundles :: cglib (3.0.0.1)
      [ 178] [Resolved   ] [            ] [       ] [   80] geronimo-j2ee-management_1.1_spec (1.0.1)
      [ 179] [Resolved   ] [            ] [       ] [   80] JAXB2 Basics - Runtime (0.6.4)
      [ 186] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: velocity (1.7.0.6)
      [ 188] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: xpp3 (1.1.4.c)
      [ 189] [Resolved   ] [            ] [       ] [   80] Joda-Time (1.6.2)
      [ 190] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: xstream (1.4.7.1)
      [ 191] [Resolved   ] [            ] [       ] [   80] geronimo-j2ee-connector_1.5_spec (2.0.0)
      [ 192] [Resolved   ] [            ] [       ] [   80] activeio-core (3.1.4)
      [ 193] [Resolved   ] [            ] [       ] [   80] Scala Standard Library (2.11.0.v20140415-163722-cac6383e66)
      [ 212] [Resolved   ] [            ] [       ] [   80] Apache Commons CSV (1.1.0)
      [ 217] [Resolved   ] [            ] [       ] [   80] Apache Commons Exec (1.3.0)
      [ 220] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: Saxon-HE (9.5.1.5_1)
      [ 222] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: snmp4j (2.3.3.1)
      [ 224] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: ognl (3.0.8.1)
      [ 230] [Resolved   ] [            ] [       ] [   80] JRuby 1.7.18.redhat-001 (1.7.18.redhat-001)
      [ 233] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: cglib (2.1.0.3_7)
      [ 236] [Resolved   ] [            ] [       ] [   80] Apache ServiceMix :: Bundles :: commons-httpclient (3.1.0.7)
      [ 276] [Resolved   ] [            ] [       ] [   80] Jackson JSON processor (1.9.12)
      [ 277] [Resolved   ] [            ] [       ] [   80] Data mapper for Jackson JSON processor (1.9.12)
      JBossFuse:karaf@root> 
      

      Then when I tried to create a local child container with command:

      JBossFuse:karaf@root> container-create-child root child
      

      Then I saw following 20 bundles that had status of "Resolved":

      JBossFuse:admin@child> list -t 0 |grep -i Resolved|grep -v Host
      [  61] [Resolved   ] [            ] [   80] mvel2 (2.2.1.Final)
      [  62] [Resolved   ] [            ] [   80] Apache ServiceMix :: Bundles :: jsch (0.1.51.1)
      [  63] [Resolved   ] [            ] [   80] Commons Collections (3.2.1)
      [  64] [Resolved   ] [            ] [   80] Commons BeanUtils (1.8.3)
      [  65] [Resolved   ] [            ] [   80] Commons Lang (2.6)
      [  69] [Resolved   ] [            ] [   80] Apache ServiceMix :: Bundles :: jasypt (1.9.2.1)
      [  70] [Resolved   ] [            ] [   80] Apache Commons Codec (1.10.0)
      [  71] [Resolved   ] [            ] [   80] Guava: Google Core Libraries for Java (17.0.0)
      [  73] [Resolved   ] [            ] [   30] OPS4J Base - Lang (1.5.0)
      [  74] [Resolved   ] [            ] [   80] OPS4J Base - Util - Property (1.5.0)
      [ 101] [Resolved   ] [            ] [   10] JavaMail API (compat) (1.4.7)
      [ 118] [Resolved   ] [            ] [   30] Java Authentication SPI for Containers (1.1)
      [ 119] [Resolved   ] [            ] [   30] geronimo-jta_1.1_spec (1.1.1)
      [ 122] [Resolved   ] [            ] [   30] Apache ServiceMix :: Bundles :: FastInfoset (1.2.13.1)
      [ 132] [Resolved   ] [            ] [   30] Apache ServiceMix :: Bundles :: wsdl4j (1.6.3.1)
      [ 133] [Resolved   ] [            ] [   30] Apache ServiceMix :: Bundles :: xmlresolver (1.2.0.5)
      [ 135] [Resolved   ] [            ] [   30] XmlSchema Core (2.2.1)
      [ 136] [Resolved   ] [            ] [   30] jettison (1.3.7)
      [ 138] [Resolved   ] [            ] [   30] OPS4J Pax Swissbox :: OSGi Core (1.8.0)
      [ 145] [Resolved   ] [            ] [   80] Scala Standard Library (2.10.4.v20140209-180020-VFINAL-b66a39653b)
      JBossFuse:admin@child>
      

      Although it did not seem to cause any issue to my tests. I wonder that do we have a clear explanation as why it behaves like that?

      I did not see the same behaviour when I worked on 6.1 fabric.

      Attachments

        Issue Links

          Activity

            People

              g_nodet Guillaume Nodet (Inactive)
              rhn-support-qluo Joe Luo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: