Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 80979 invoked from network); 20 Feb 2009 11:25:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 11:25:24 -0000 Received: (qmail 19968 invoked by uid 500); 20 Feb 2009 11:25:24 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 19674 invoked by uid 500); 20 Feb 2009 11:25:23 -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 19661 invoked by uid 99); 20 Feb 2009 11:25:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 03:25:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 11:25:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C18CE234C495 for ; Fri, 20 Feb 2009 03:25:01 -0800 (PST) Message-ID: <1366284398.1235129101778.JavaMail.jira@brutus> Date: Fri, 20 Feb 2009 03:25:01 -0800 (PST) From: "Kristian Koehler (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-938) FileInstall starts a stopped bundles even if it is stopped transiently by user In-Reply-To: <1814135244.1234547579621.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675333#action_12675333 ] Kristian Koehler commented on FELIX-938: ---------------------------------------- Hi by the way, there is a property to define auto start behaviour for new installed bundles via fileinstall (svn trunk, not sure if it available in felix 1.4.1): felix.fileinstall.bundles.new.start Default value is true Kristian > FileInstall starts a stopped bundles even if it is stopped transiently by user > ------------------------------------------------------------------------------ > > Key: FELIX-938 > URL: https://issues.apache.org/jira/browse/FELIX-938 > Project: Felix > Issue Type: Bug > Components: File Install > Environment: generic > Reporter: Sahoo > > Configure File Install to watch a directory. Add some bundles there. File Install will install and start them. Now, using Felix shell or some other utility, stop one of these bundles, wait for File Install to loop again. You shall notice that File Install will start the bundle again. I think this behavior is not desirable. if user has explicitly stopped a bundle, why should File Install start it immediately? In act, there is no way to stop a bundle other than removing it from watched directory. Removing a bundle from watched dir may not always be practical because of file system permission issues. So, I think File Install should not automatically restart a stopped bundle, at least not in the same framework instance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.