java.lang.IllegalStateException: The CacheManager has been shut down. It can no longer be used.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via terracotta.org by Unknown author, 1 year ago
The CacheManager has been shut down. It can no longer be used.
via Terracotta by shash123, 1 year ago
The CacheManager has been shut down. It can no longer be used.
via Stack Overflow by Kumar
, 1 year ago
The CacheManager has been shut down. It can no longer be used.
via Coderanch by Sudhana Madhu, 11 months ago
via ehcache by pietu
, 1 year ago
The CacheManager is not alive.
java.lang.IllegalStateException: The CacheManager has been shut down. It can no longer be used.
at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:1236)
at net.sf.ehcache.CacheManager.getEhcache(CacheManager.java:854)
at com.googlecode.ehcache.annotations.resolver.DefaultCacheResolverFactory.getCache(DefaultCacheResolverFactory.java:148)
at com.googlecode.ehcache.annotations.resolver.DefaultCacheResolverFactory.getCacheResolver(DefaultCacheResolverFactory.java:104)
at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl.parseCacheableAnnotation(CacheAttributeSourceImpl.java:356)
at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl.findMethodAttribute(CacheAttributeSourceImpl.java:295)
at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl.computeMethodAttribute(CacheAttributeSourceImpl.java:269)
at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl.getMethodAttribute(CacheAttributeSourceImpl.java:223)
at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl.getAdviceType(CacheAttributeSourceImpl.java:178)
at com.googlecode.ehcache.annotations.impl.CacheStaticMethodMatcherPointcut.matches(CacheStaticMethodMatcherPointcut.java:45)
at org.springframework.aop.support.MethodMatchers.matches(MethodMatchers.java:95)
at org.springframework.aop.framework.DefaultAdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(DefaultAdvisorChainFactory.java:63)
at org.springframework.aop.framework.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice(AdvisedSupport.java:482)

Users with the same issue

Once, 1 year ago
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.