karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Gavrilov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2522) Boot feature bundle failure forces other bundles to start regardless 'start' flag
Date Sun, 20 Oct 2013 10:22:41 GMT
Alexey Gavrilov created KARAF-2522:
--------------------------------------

             Summary: Boot feature bundle failure forces other bundles to start regardless
'start' flag
                 Key: KARAF-2522
                 URL: https://issues.apache.org/jira/browse/KARAF-2522
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.3.2
            Reporter: Alexey Gavrilov


If a bundle under a boot feature fails to start, then all the  bundles marked as 'start="false"'
will be forced to start during handling an error.

Steps to reproduce:
- create a boot feature containing two bundles.
- make the first bundle fail on startup (due to missing dependency, for example)
- mark the second bundle as 'start=false'
- start the Karaf container
- the first bundle will fail to start
- the second bundle will be started regardless the 'start=false' flag.

I think the problem is around the start bundle loop at FeaturesServiceImpl.java:525 (in Karaf
2.3.2) which doesn't respect the bunlde startup flag when starting the installed bundles when
'Option.NoCleanIfFailure' is set.





--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message