karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: Monitoring config directory
Date Tue, 14 Jan 2014 13:48:08 GMT
I am trying to monitor more than one directory. Please ignore my question.
It's working now. I don't know why, but it is working. If I am able to
regenerate the problem again, I will report it.

The problem was that it doesn't monitor the second directory.

Thank you.

On Tue, Jan 14, 2014 at 12:55 AM, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
> Hi,
>
> you have it in the etc/config.properties:
>
> felix.fileinstall.enableConfigSave = true
> felix.fileinstall.dir    = ${karaf.etc}
> felix.fileinstall.filter = .*\\.cfg
> felix.fileinstall.poll   = 1000
> felix.fileinstall.noInitialDelay = true
> felix.fileinstall.log.level = 3
>
>
> What do you mean by it doesn't work ? you mean adding your own directory ?
> The monitoring itself work else Karaf wouldn't load its own configurations.
>
> Regards
> JB
>
>
> On 01/14/2014 12:08 AM, Mansour Al Akeel wrote:
>>
>> This used to work in karaf 2.3.2
>>
>> felix.fileinstall.dir    = ${karaf.base}/etc,
>> /home/mansour/workspace/my-project/conf
>>
>> But it no longer works in 3.0.0.
>>
>> Am I missing something ?
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Mime
View raw message