You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/04/07 14:55:41 UTC

[jira] [Updated] (KARAF-4676) Karaf does not reapply the wiring when rebooting

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

Guillaume Nodet updated KARAF-4676:
-----------------------------------
    Fix Version/s: 4.1.0

> Karaf does not reapply the wiring when rebooting
> ------------------------------------------------
>
>                 Key: KARAF-4676
>                 URL: https://issues.apache.org/jira/browse/KARAF-4676
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.6
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.0
>
>
> The features service is smart and apply it's computed wiring to the bundles when features are installed.
> However, after restarting Karaf from scratch, the previous wiring is not used which can lead to problems:
> {code}
> karaf@root()> repo-add pax-cdi 1.0.0-SNAPSHOT ; feature:install pax-cdi-weld 
> karaf@root()> bundle:list --no-format | grep -v Active 
> START LEVEL 100 , List Threshold: 50
> karaf@root()> system:shutdown --reboot  
> Confirm: reboot instance root (yes/no): yes 
> karaf@root()>  
>         __ __                  ____      
>        / //_/____ __________ _/ __/      
>       / ,<  / __ `/ ___/ __ `/ /_        
>      / /| |/ /_/ / /  / /_/ / __/        
>     /_/ |_|\__,_/_/   \__,_/_/         
>   Apache Karaf (4.1.0-SNAPSHOT)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
> karaf@root()> bundle:list --no-format | grep -v Active 
> START LEVEL 100 , List Threshold: 50
> 51	Installed	 80	2.3.3.Final   	Weld OSGi Bundle
> 53	Waiting  	 80	1.0.0.SNAPSHOT	OPS4J Pax CDI Extender for Bean Bundles
> 56	Installed	 80	1.0.0.SNAPSHOT	OPS4J Pax CDI Weld Adapter
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)