You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/03/03 09:02:21 UTC

[jira] [Commented] (KARAF-2792) shared cm-properties empty for second bundle

    [ https://issues.apache.org/jira/browse/KARAF-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917816#comment-13917816 ] 

Guillaume Nodet commented on KARAF-2792:
----------------------------------------

That's a limitation of the ConfigAdmin spec afaik.
ConfigAdmin supports multi-location when the configuration is bound to a location starting with a '?'
This would need an enhancement in file install I think when coming from etc/ or the features service if coming from a feature definition.

> shared cm-properties empty for second bundle
> --------------------------------------------
>
>                 Key: KARAF-2792
>                 URL: https://issues.apache.org/jira/browse/KARAF-2792
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-osgi
>    Affects Versions: 2.3.3, 2.3.4
>            Reporter: Alexey Markevich
>            Assignee: Jean-Baptiste Onofré
>         Attachments: cm-properties.zip, config.cfg
>
>
> - add to etc/custom.properties
> karaf.framework=equinox
> - put config.cfg to etc/
> - build cm-properties and put add-features-to-repo-0.1.kar to deploy/
> Output:
> Bundle1:{service.pid=config, hello=world, felix.fileinstall.filename=file:/D:/apache-karaf-2.3.3/etc/config.cfg}
> Bundle2:{}
> Note: sometimes multiple redeploy required



--
This message was sent by Atlassian JIRA
(v6.2#6252)