EHC ❯ Cache not alive error
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
In our project, we are using EhCache with Hibernate. Also we are using spring 2.0. When we are trying to shutdown application using tomcat, we are getting an error saying “java.lang.IllegalStateException - Cache is not alive”. Could you please let me know how to get out of this situation? Sourceforge Ticket ID: 2537692 - Opened By: kemparajuknk - 26 Jan 2009 13:43 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Hi
If you tell me the version of ehcache you are using that might help.
The Exception is caused by an access to a Cache after it has been shutdown. This is what should happen. The question is why is an access to a cache happening after a shutdown. A stack trace would help.
What you are seeing is not a bug, but rather an interaction between Spring, Hibernate, Tomcat and Ehcache. Please post to the forum with your stack trace or create a support contract.
Comment by: gregluck - 3 Apr 2009 09:15 UTC