Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E7E9F104A6 for ; Fri, 14 Mar 2014 09:36:49 +0000 (UTC) Received: (qmail 60950 invoked by uid 500); 14 Mar 2014 09:36:47 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 60862 invoked by uid 500); 14 Mar 2014 09:36:45 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 60727 invoked by uid 99); 14 Mar 2014 09:36:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 09:36:43 +0000 Date: Fri, 14 Mar 2014 09:36:42 +0000 (UTC) From: "Uwe Barthel (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4436) DirectoryWatcher should not "refresh" Blueprint XML deployments on every start-up MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934813#comment-13934813 ] Uwe Barthel commented on FELIX-4436: ------------------------------------ [~metatech]: the patch (pull req. #4) contains the commits of #3 too and adds two new one. If it is the felix way, so may I provide a patch file instead of git pull requests? > 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)