Oky. Let me check.

Regards
JB

On Sep 26, 2017, 08:31, at 08:31, "J. Brebec" <[email protected]> wrote:
>I haven't found a ticket on jira about this issue.. however,
>backporting the commit [1] into the branch karaf-4.1 fixes it for me.
>
>Regards
>
>[1]
>https://github.com/apache/karaf/commit/d1ce154d27c8416911deec29f04594ff805d90df
>
>
>
>On 2017-09-25 18:23, Jean-Baptiste Onofré <[email protected]> wrote:
>> Hi,
>>
>> yes, it's due to the - in the config name. The workaround is to use
>> <configfile/> 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 :
>> >
>> > <feature name="my-feature">
>> >    <config name="my.pid-myfactorypid">
>> >       myproperty = xxx
>> >    </config>
>> > </feature>
>> >
>> > 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é
>> [email protected]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>

Reply via email to