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 2013/05/22 11:11:21 UTC

[jira] [Commented] (KARAF-2338) Felix File Install property (felix.fileinstall.active.level) is not working

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

Guillaume Nodet commented on KARAF-2338:
----------------------------------------

What's your use case for trying to order things in a so fine grained way ?
Start order should only be used as a way to optimize things, but bundles should not rely on it, because bundles can be stopped or started at any time and they should handle those use cases correctly.
                
> Felix File Install property (felix.fileinstall.active.level) is not working
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-2338
>                 URL: https://issues.apache.org/jira/browse/KARAF-2338
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.9, 2.3.0
>            Reporter: Shrish Srivastava
>            Assignee: Jean-Baptiste Onofré
>         Attachments: Bundle3-0.0.1-SNAPSHOT.jar, org.apache.felix.fileinstall-deploy.cfg, try.zip
>
>
> We are having 3 bundles and we want to deploy bundle1 and bundle 2 as part of boot feature and bundle 3 via file install(deploy folder).
> We want to maintain the deployment order in such a way that bundle as part of boot feature deployed first and then bundle from deploy folder is deployed.
> For example: 
> 1st)Bundle2
> 2nd)Bundle1
> 3rd)Bundle3
> In order to maintain this behavior we have set the following property in org.apache.felix.fileinstall-deploy.cfg 
> felix.fileinstall.active.level =84
> This level is way higher than the Bundle1(Level:75) & Bundle2(Level:60) level
> But we are not able to achieve the required behavior after launching the karaf with clean cache.
> The bundles are getting deployed in the following order.
> 1)Bundle2
> 2)Bundle3
> 3)Bundle1
> When I restart the karaf(without cleaning cache) then bundles are getting deployed in the right order.
> 1)Bundle2
> 2)Bundle1
> 3)Bundle3
>  
> It look like that "felix.fileinstall.active.level" is not applied properly. 

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