Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9D847200D06 for ; Mon, 25 Sep 2017 18:23:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9BD251609C4; Mon, 25 Sep 2017 16:23:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DD37F1609BB for ; Mon, 25 Sep 2017 18:23:55 +0200 (CEST) Received: (qmail 26551 invoked by uid 500); 25 Sep 2017 16:23:54 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 26541 invoked by uid 99); 25 Sep 2017 16:23:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2017 16:23:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7D903DC1AF for ; Mon, 25 Sep 2017 16:23:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.28 X-Spam-Level: X-Spam-Status: No, score=0.28 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id u9hW_D2V066X for ; Mon, 25 Sep 2017 16:23:53 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4D7265F5FD for ; Mon, 25 Sep 2017 16:23:53 +0000 (UTC) X-Originating-IP: 80.11.158.71 Received: from [192.168.1.17] (LStLambert-658-1-162-71.w80-11.abo.wanadoo.fr [80.11.158.71]) (Authenticated sender: jb@nanthrax.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 31941C5A4E for ; Mon, 25 Sep 2017 18:23:46 +0200 (CEST) Subject: Re: Duplicate Configuration when installing a feature To: user@karaf.apache.org References: From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: Date: Mon, 25 Sep 2017 18:23:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit archived-at: Mon, 25 Sep 2017 16:23:56 -0000 Hi, yes, it's due to the - in the config name. The workaround is to use instead. We already have a Jira about that, let me find it. Regards JB On 09/25/2017 05:03 PM, J. Brebec wrote: > Hi, > > I am using Karaf 4.1.2 and a simple feature like : > > > > myproperty = xxx > > > > when this feature is installed, I can see with the "config:list" command that this configuration is deployed two times, one with a "org.apache.karaf.features.configKey" property, and the second one with "felix.fileinstall.filename". > > as this configuration is used with a ManagedServiceFactory, the components is instanciated two times instead of one. > > Is it a known issue ? To me, it's related to FeatureConfigInstaller.updateStore() with doesn't add explicitly a "felix.fileinstall.filename" property.. > > Regards, > Jérémie > > -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com