[
https://issues.apache.org/jira/browse/FELIX-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-4740.
------------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
Fix Version/s: fileinstall-3.6.4
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M
fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Committed r1812605
> Bundles don't start if no BundleEvent fired after reaching start level
> ----------------------------------------------------------------------
>
> Key: FELIX-4740
> URL: https://issues.apache.org/jira/browse/FELIX-4740
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.4.2
> Environment: Mac OS X 10.10, Apache Karaf 3.0.2
> Reporter: Tim Hull
> Assignee: Guillaume Nodet
> Fix For: fileinstall-3.6.4
>
>
> In working with FileInstall, I've discovered an odd condition under which
> bundles installed by FileInstall will never be started, even though their
> start level is reached. This seems to happen most frequently when the active
> level is set to a value less than the start level.
> In that case, the initial scan will install bundles in the deploy directory,
> but not start them. That is expected. However, once the required start level
> is reached, the installed bundles are only started if a BundleEvent is fired
> after the start level change. Otherwise, the stateChanged flag in FileInstall
> will not be set, and we will never start the installed bundles.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)