[ 
https://issues.apache.org/jira/browse/KARAF-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang reassigned KARAF-1276:
-----------------------------------

    Assignee: Freeman Fang
    
> Add activation="eager" to springListener bean in 
> shell/osgi/src/main/resources/OSGI-INF/blueprint/shell-osgi.xml
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1276
>                 URL: https://issues.apache.org/jira/browse/KARAF-1276
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 2.2.5
>         Environment: Windows XP
> Servicemix 4.4.1
> Java 1.6.0_16
>            Reporter: Serge Starovoitenkov
>            Assignee: Freeman Fang
>            Priority: Minor
>              Labels: newbie
>
> With default activation (lazy) the bean is being initialized on first call of 
> command "list", so the listener SpringApplicationListener is added to the 
> framework when most of bundles are already initialized and started. As a 
> result one can see empty Spring states - [         ] - for all bundles.
> If the command "list" is called as soon as possible after Karaf start, 
> listener is created and later the correct states are listed.
> Adding 'activation="eager"' to bean definition solves the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to