Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82FE29E0A for ; Fri, 2 Mar 2012 13:52:22 +0000 (UTC) Received: (qmail 68061 invoked by uid 500); 2 Mar 2012 13:52:22 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 68041 invoked by uid 500); 2 Mar 2012 13:52:22 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 68032 invoked by uid 99); 2 Mar 2012 13:52:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 13:52:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 13:52:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5F75B5DB8 for ; Fri, 2 Mar 2012 13:51:57 +0000 (UTC) Date: Fri, 2 Mar 2012 13:51:57 +0000 (UTC) From: "Andrei Shakirin (Issue Comment Edited) (JIRA)" To: issues@karaf.apache.org Message-ID: <976803045.11894.1330696317392.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <206421582.7820.1328616660116.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (KARAF-1189) Feature installation: synchronization between copiing configuration files and installing/starting bundles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-1189?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1322= 0918#comment-13220918 ]=20 Andrei Shakirin edited comment on KARAF-1189 at 3/2/12 1:50 PM: ---------------------------------------------------------------- Need a solution/workaround for Spring DM case: see last comment What I can imagine as a solution: Karaf copies feature configuration files at first, than waits before they a= re available via ManagedService and only after it installs the feature bund= les. What do you think? Andrei. =20 was (Author: ashakirin): Need a solution/workaround for Spring DM case: see last comment =20 > Feature installation: synchronization between copiing configuration files= and installing/starting bundles > -------------------------------------------------------------------------= -------------------------------- > > Key: KARAF-1189 > URL: https://issues.apache.org/jira/browse/KARAF-1189 > Project: Karaf > Issue Type: Improvement > Components: karaf-core > Reporter: Andrei Shakirin > Assignee: Jean-Baptiste Onofr=C3=A9 > Labels: configuration, features, > > Hi, > Actually there is no synchronization between installation/starting bundle= s and copiing configuration files. > It causes sometimes that bundles with OSGi services are already started, = but appropriate configuration is not yet accepted by ConfigurationAdmin. Re= sult is failed services by first installation. After restart problem is res= olved. > Question: is it basically possible to wait untile configuration files are= accepted by ConfigurationAdmin and only after it start bundles from the fe= ature? > Regards, > Andrei. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira