Guillaume Nodet created KARAF-4676:
--------------------------------------

             Summary: 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


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.4#6332)

Reply via email to