IllegalStateException « Cache « JPA Q&A





1. java.lang.IllegalStateException: Cache is not alive.    forum.hibernate.org

Newbie Joined: Wed Feb 25, 2004 10:57 am Posts: 2 Hello we have a web application where we use the Spring framework together with Hibernate and ehcache. The web application works fine. Howeve we want to deploy the same application under a different web app name. The reason for doing so is to have one application access the db and the ...

2. java.lang.IllegalStateException: The PRDUSG_MASTER_CACHE Cac    forum.hibernate.org

Hi All, I am getting following error messages on one of my weblogic server instance intermittently. java.lang.IllegalStateException: The PRDUSG_MASTER_CACHE Cache is not alive. at net.sf.ehcache.Cache.checkStatus(Cache.java:713) at net.sf.ehcache.Cache.get(Cache.java:355) at be.telenet.j2eeframework.services.cache.impl.ehcache.EHCache.get(EHCache.java:114) at be.telenet.revenu.prdusgsrv.ProductUsageServiceProvider.getThresholdMasterData(ProductUsageServiceProvider.java:983) at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:163) at $Proxy33.getThresholdMasterData(Unknown Source) at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at ...

3. java.lang.IllegalStateException: in ehcache    forum.hibernate.org

Hi, I have a junit TestCase with multiple Testmethods. For each Test Method the sessionFactory is closed and opened again (with a new Configuration Object). This works with most testcases, but after some restarts I get always this exception. Is there any way to get more information, why the cache is not alive? bye Roland Hibernate version: 2.1.8 ehcache: 1.1 jdk ...