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 2012/12/18 10:00:18 UTC

[jira] [Commented] (KARAF-2075) Shutdown Karaf but the bundle stop is not follow the start-level

    [ https://issues.apache.org/jira/browse/KARAF-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534766#comment-13534766 ] 

Guillaume Nodet commented on KARAF-2075:
----------------------------------------

Looking at the code, that's really what is supposed to happen when shutting down the osgi framework.  It's just calling setActiveStartLevel(0) and should have the correct behavior.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira