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

osgi:list column for Spring state stays empty for bundles started before first invocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2.4
    • 2.2.5, 3.0.0
    • karaf
    • None
    • ServiceMix 4.4.2

    Description

      When executing the "osgi:list" in the Karaf console, the Spring status stays empty. After the first invocation of "osgi:list" in the Karaf shell, the listener gets registered, but the Spring status stays empty until the next bundle state change (ie states changes in the past are lost).

      A more reliable solution to this problem would be to register the listeners in a bundle activator in the Karaf Shell OSGi bundle, so that all events are listened from the early start of the server.

      This problem was already reported in FELIX-1717 but the problem is still present in Karaf 2.2.4.

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              metatech metatech
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: