You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "metatech (JIRA)" <ji...@apache.org> on 2013/07/01 09:52:19 UTC

[jira] [Created] (KARAF-2371) osgi:list column for Spring state stays empty for bundles started before first invocation

metatech created KARAF-2371:
-------------------------------

             Summary: osgi:list column for Spring state stays empty for bundles started before first invocation
                 Key: KARAF-2371
                 URL: https://issues.apache.org/jira/browse/KARAF-2371
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 2.2.4
         Environment: ServiceMix 4.4.2
            Reporter: metatech


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira