commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl>
Subject Re: [JCS] disk persistence - same conf file, different results
Date Fri, 14 Nov 2014 17:29:47 GMT
On 14.11.14 18:03, Thomas Vandahl wrote:
> On 14.11.14 13:47, joao tiago a. m. viegas wrote:
>> I'll probably reformat this question in a simpler way.
>> The goal is to persist an element and retrieve it after restart of a new vm.
> The disk caches persist the keys when the cache is shut down. So you
> should call CompositeCacheManager.getInstance().shutDown(); before your
> application ends.

To be precise: You cannot shut down the cache in the middle of a process
because with jcs 1.3 the cache will not re-initialize correctly. This
should have been fixed to a large extent in jcs 2.0 but still needs
further work.

Bye, Thomas

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message