ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren Davison <dar...@davisononline.org>
Subject Re: clustered cache on Tomcat - can't shutdown
Date Wed, 30 Jul 2008 19:08:34 GMT
On Wed, Jul 30, 2008 at 10:47:59AM -0600, Clinton Begin wrote:
>    It's so easy to write a custom cache, just copy the OSCache implementation
>    and modify it however you like.  You can plug it in by using the fully
>    qualified class name in place of "OSCACHE" or by creating your own type
>    alias (e.g. "MYOSCACHE") and using that.

yes, this is what I've done now and just created a static shutdown()
method on it which calls CACHE.destroy().  My ServletContextListener
calls the shutdown() method.  All works nicely and I have clean Tomcat
shutdowns again.

Cheers!

-- 
Darren Davison
Public Key: 0xE855B3EA

Mime
View raw message