karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Gritschenberger <christoph.gritschenber...@gmail.com>
Subject Re: Reset Karaf cache directory
Date Thu, 25 Sep 2014 21:46:17 GMT
Hi,

You can also put the following line into your etc/system.properties

	karaf.clean.cache=false

If you want to trigger a cache-clean from within your application, just
create a file named "clean_cache" in data-directory
(System.getProperty("karaf.data"))

kind regards,
Christoph

On 25/09/14 15:47, Jean-Baptiste Onofré wrote:
> Hi
> 
> Why do you delete at each start ?
> 
> You can use: bin/karaf clean or bin/karaf clean-all to cleanup the cache
> at startup.
> 
> Regards
> JB
> 
> On 09/25/2014 03:28 PM, rcbandit wrote:
>> Hi, I'm interested how I can reset cache directory. Every time when I
>> start
>> Karaf I have to delete manually cache directory.
>>
>>
>>
>> -- 
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Reset-Karaf-cache-directory-tp4035519.html
>>
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
> 



Mime
View raw message