On 06/02/13 17:05, MattShaw wrote:
> Hi,
>
> I'm trying to ensure that sessions are persisted (using disk) across
> restarts of a JVM.
>
> I have configured shiro using the following settings but sessions aren't
> being persisted across JVM restarts.  Should this be possible with Shiro
> out-of-the-box or do I need some other caching framework?
>
>

I'm pretty sure you need some other external caching framework, such as 
Terracotta, memcached or what we're using, Redis. Clearly something has 
to be persisted in a way which will survive a JVM restart - meaning to 
some external process or datastore. Maybe there is some way of 
configuring things so that a file is simply written to disk, but I don't 
know.

Reply via email to