It gets called when the container is shutting down, take a look at
EhCacheManager.destroy().

I tried your config against a simple webapp (no dropwizard, or jersey), and
it worked as expected. ( I know this doesn't exactly cover your use case
though )


On Thu, Sep 22, 2016 at 5:02 PM, martinafterdark <[email protected]>
wrote:

> the data file is persisted to disk. There is no index file.
>
> Does shiro call the CacheManager.shutdown() when the application closes?
>
> do i need at shutdown listener?
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.
> nabble.com/Problem-with-Session-Caching-and-Server-
> Restart-tp7581280p7581284.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to