karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2075) Shutdown Karaf but the bundle stop is not follow the start-level
Date Tue, 18 Dec 2012 09:00:18 GMT

    [ 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

Mime
View raw message