You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by ankurnema <an...@gmail.com> on 2016/03/30 19:11:42 UTC
Facing issues with Config file persistence when using metatype xml
Hello,I am using karaf 4.0.4.I have a config file in standard etc directory.
My bundle has metadata xml as well associated with config file. When my
bundle is not deployed and I make any changes through web console changes
gets saved into configuration file. Once my bundle is deployed then changes
stop getting persisted into config file.Can any one tell me how to solve
this issue?Ankur
--
View this message in context: http://karaf.922171.n3.nabble.com/Facing-issues-with-Config-file-persistence-when-using-metatype-xml-tp4046059.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Facing issues with Config file persistence when using metatype
xml
Posted by ankurnema <an...@gmail.com>.
This property is there when I am not using metatype xml. When I use
metatype xml this property vanishes.
Example:
This config is not using metatype xml
[image: Inline image 1]
This file uses metatype.xml so felix.fileinstall.filename vanishes.
[image: Inline image 2]
On Wed, Mar 30, 2016 at 10:46 PM, jbonofre [via Karaf] <
ml-node+s922171n4046060h3@n3.nabble.com> wrote:
> Hi,
>
> do you have felix.fileinstall.file property ?
>
> Regards
> JB
>
> On 03/30/2016 07:11 PM, ankurnema wrote:
>
> > Hello,I am using karaf 4.0.4.I have a config file in standard etc
> directory.
> > My bundle has metadata xml as well associated with config file. When my
> > bundle is not deployed and I make any changes through web console
> changes
> > gets saved into configuration file. Once my bundle is deployed then
> changes
> > stop getting persisted into config file.Can any one tell me how to solve
> > this issue?Ankur
> >
> >
> >
> > --
> > View this message in context:
> http://karaf.922171.n3.nabble.com/Facing-issues-with-Config-file-persistence-when-using-metatype-xml-tp4046059.html
> > Sent from the Karaf - Dev mailing list archive at Nabble.com.
> >
>
> --
> Jean-Baptiste Onofré
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4046060&i=0>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://karaf.922171.n3.nabble.com/Facing-issues-with-Config-file-persistence-when-using-metatype-xml-tp4046059p4046060.html
> To unsubscribe from Facing issues with Config file persistence when using
> metatype xml, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4046059&code=YW5rdXJuZW1hQGdtYWlsLmNvbXw0MDQ2MDU5fC0xMzczMTQ0Nzk1>
> .
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Ankur Nema | Mobile: +91 8446221212 | ankurnema@gmail.com
image.png (28K) <http://karaf.922171.n3.nabble.com/attachment/4046061/0/image.png>
image.png (22K) <http://karaf.922171.n3.nabble.com/attachment/4046061/1/image.png>
--
View this message in context: http://karaf.922171.n3.nabble.com/Facing-issues-with-Config-file-persistence-when-using-metatype-xml-tp4046059p4046061.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Facing issues with Config file persistence when using metatype
xml
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
do you have felix.fileinstall.file property ?
Regards
JB
On 03/30/2016 07:11 PM, ankurnema wrote:
> Hello,I am using karaf 4.0.4.I have a config file in standard etc directory.
> My bundle has metadata xml as well associated with config file. When my
> bundle is not deployed and I make any changes through web console changes
> gets saved into configuration file. Once my bundle is deployed then changes
> stop getting persisted into config file.Can any one tell me how to solve
> this issue?Ankur
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Facing-issues-with-Config-file-persistence-when-using-metatype-xml-tp4046059.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com