[ 
https://issues.apache.org/jira/browse/KARAF-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209770#comment-14209770
 ] 

metatech commented on KARAF-2371:
---------------------------------

For the record, the bug is still present in ServiceMix 4.5.3 (containing Karaf 
2.2.11), but only on the first-startup (when the bundle cache is constructed 
from scratch).  On subsequent start-ups, it works fine.

> 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
>            Assignee: Freeman Fang
>             Fix For: 2.2.5, 3.0.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to