[
https://issues.apache.org/jira/browse/KARAF-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663955#comment-13663955
]
Edward Ost commented on KARAF-2338:
-----------------------------------
Despite the good detail in the description, it is _not_ really a question of
the relative start order of bundle 1 versus bundle 2, etc. While those may or
may not be bugs, those bugs are covered in other JIRA issues. The issue is
that all of the bundles should not be starting until the
felix.fileinstall.active.level (e.g. 84 in this case) is reached. Can we
enhance the example to show that when these bundles other deployed relative to
other bundles which may be specified in the start.properties so that we can
ascertain whether these other bundles are started in the correct relation to
the active.level property. This will demonstrate more clearly the bug.
> 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