I am not sure if I should post this to this forum, but it seems reasonable to post it here.
I implemented EhSecurityCache and NullSecurityCache (which caches some other custom data related with user) based on EhUserCache and NullUserCache of Acegi. Either seems to work properly. But when using the EhCache based cache, redeploy in Tomcat is not successful. It freezes while destroying beans. When I change the configuration to use NullSecurityCach (no caching), redeploy works fine.
Any one have idea on this?