[ https://issues.apache.org/jira/browse/FELIX-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939297#comment-13939297 ]
Uwe Barthel commented on FELIX-4436: ------------------------------------ [~metatech] Have you had time for a test? In my test setup the patch works. {code} g! lb START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (4.2.1) 1|Active | 1|HSQLDB (2.2.4) 2|Active | 1|Apache Aries Blueprint Bundle (1.1.0) 3|Active | 1|Apache Aries Proxy Bundle (1.0.0) 4|Active | 1|Apache Aries Util (1.0.0) 5|Active | 1|Apache Felix Bundle Repository (1.6.6) 6|Active | 1|Apache Felix Configuration Admin Service (1.8.0) 7|Active | 1|Apache Felix File Install (3.3.0.SNAPSHOT) 8|Active | 1|Apache Felix Gogo Command (0.12.0) 9|Active | 1|Apache Felix Gogo Runtime (0.10.0) 10|Active | 1|Apache Felix Gogo Shell (0.10.0) 11|Active | 1|Apache Karaf :: Deployer :: Blueprint (2.2.8) 12|Active | 1|OPS4J Pax Logging - API (1.6.7) 13|Active | 1|OPS4J Pax Logging - Service (1.6.7) 14|Active | 1|datasource-hsqldb.xml (0.0.0) {code} > DirectoryWatcher should not "refresh" Blueprint XML deployments on every > start-up > --------------------------------------------------------------------------------- > > Key: FELIX-4436 > URL: https://issues.apache.org/jira/browse/FELIX-4436 > Project: Felix > Issue Type: Bug > Components: File Install > Affects Versions: fileinstall-3.2.4 > Environment: ServiceMix 4.5.3 > Reporter: metatech > Priority: Minor > Attachments: felix_no_refresh_installed.patch > > > DirectoryWatcher can auto-deploy JAR or XML files placed in a directory. > Blueprint XML files (containing for instance ActiveMQ factories or JAAS > realms) are detected as "installed" on every start-up. Prior to FELIX-2066, > this had no effect. Since FELIX-2066, bundles detected as "installed" are > now forcibly "refreshed" on every start-up. The impact is that these bundles > are stopped and restarted during the container start-up. Because there are > some race conditions (see FELIX-3067), this can prevent those XML files or > other bundles depending on them from fully starting. Here is a patch which > avoids restarting those bundles when they were not modified. -- This message was sent by Atlassian JIRA (v6.2#6252)