Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 58466 invoked from network); 4 Aug 2008 13:33:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 13:33:29 -0000 Received: (qmail 89695 invoked by uid 500); 4 Aug 2008 13:33:01 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 88762 invoked by uid 500); 4 Aug 2008 13:32:57 -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 88522 invoked by uid 99); 4 Aug 2008 13:32:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:32:56 -0700 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; Mon, 04 Aug 2008 13:25:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4D524234C197 for ; Mon, 4 Aug 2008 06:24:44 -0700 (PDT) Message-ID: <655507889.1217856284315.JavaMail.jira@brutus> Date: Mon, 4 Aug 2008 06:24:44 -0700 (PDT) From: "Christian van Spaandonk (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-658) Extend deployment admin to optionally support not stopping the world on updates. In-Reply-To: <2043581603.1217851964555.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-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian van Spaandonk resolved FELIX-658. ------------------------------------------- Resolution: Fixed I agree this is not very OSGi-like, a change has been committed (rev 682377) that allows to skip the stopping of unaffected bundles by providing a system property named org.apache.felix.deploymentadmin.stopunaffectedbundle. If the property is set to "false" the stopping will be skipped when possible, if set to true or if not set at all everything will function according to the spec (stopping all bundles regardless). > Extend deployment admin to optionally support not stopping the world on updates. > -------------------------------------------------------------------------------- > > Key: FELIX-658 > URL: https://issues.apache.org/jira/browse/FELIX-658 > Project: Felix > Issue Type: New Feature > Components: Deployment Admin > Reporter: Marcel Offermans > Assignee: Christian van Spaandonk > > Deployment Admin supports the atomic installation, update and removal of a group of bundles called a package. Once installed, you can create fix packages to upgrade from one version to the next. Often, those updates only contain a subset of the bundles. However (and this is very un-OSGi-like) the spec dictates that even if you update only one bundle in a package, you have to first stop them all, then do the update, and finally start them all again. I would like to have a switch that allows you to change this behavior to only update what is actually changed. > Background: To maintain the software and updates to a gateway, we often define a gateway to contain one deployment package containing all bundles, because that's the only way to truly create atomic updates (once you start having more deployment packages, you run the risk of wanting to update things in more than one package, and then run into the issue that there is no overarching mechanism to do those updates in one transaction). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.