[ https://issues.apache.org/jira/browse/KARAF-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980940#comment-13980940 ]
Guillaume Nodet commented on KARAF-2075: ---------------------------------------- The bundles are actually stopped in the correct order I think. However, blueprint intercepts the fact that the framework is shutting down and preemptively shutdown blueprint containers in a different order. The order is supposed to minimize disruption by shutting down blueprint containers that uses services before those that expose services. See KARAF-2803 > Shutdown Karaf but the bundle stop is not follow the start-level > ----------------------------------------------------------------- > > Key: KARAF-2075 > URL: https://issues.apache.org/jira/browse/KARAF-2075 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 2.3.0 > Environment: linux or win7 > Reporter: Bill Lang > > I set a bundle start level to bundles as this: > Name Level > bundle-a 81 > bundle-b 82 > bundle-c 83 > When I use osgi:start-level 80, bundles closed as order 83,82,81 and this is > what I expected. > When I use shutdown, bundles closed as order 81,83,82 and this tis not what I > expected. > Could you make the bundles stop follow the reverse order of start level when > karaf shutdown -- This message was sent by Atlassian JIRA (v6.2#6252)