ehcache Cache is not alive (STATUS_SHUTDOWN)
来源:互联网 发布:js截取到某个字符 编辑:程序博客网 时间:2024/06/03 19:30
Exception in thread "Bootstrap Thread for cache skinfo" java.lang.IllegalStateException: The skinfo Cache is not alive (STATUS_SHUTDOWN)
at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:4075)
at net.sf.ehcache.Cache.checkStatus(Cache.java:2766)
at net.sf.ehcache.Cache.isExpired(Cache.java:2845)
at net.sf.ehcache.Cache.get(Cache.java:1738)
at net.sf.ehcache.store.DiskStoreBootstrapCacheLoader.doLoad(DiskStoreBootstrapCacheLoader.java:67)
at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:4075)
at net.sf.ehcache.Cache.checkStatus(Cache.java:2766)
at net.sf.ehcache.Cache.isExpired(Cache.java:2845)
at net.sf.ehcache.Cache.get(Cache.java:1738)
at net.sf.ehcache.store.DiskStoreBootstrapCacheLoader.doLoad(DiskStoreBootstrapCacheLoader.java:67)
at net.sf.ehcache.store.DiskStoreBootstrapCacheLoader$BootstrapThread.run(DiskStoreBootstrapCacheLoader.java:108)
原因是BoostrapThread还没有执行完,cache就已经关闭了,解决办法是可以在单元测试方法最后面sleep一会再让它执行exit
阅读全文
0 0
- ehcache Cache is not alive (STATUS_SHUTDOWN)
- The 'XXX' Cache is not alive (STATUS_SHUTDOWN)
- Regarding cache not alive issue
- ehcache Key is not Serializable
- check sqlserver is alive
- org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled
- Cache系列Ehcache
- Spring Cache集成ehcache
- Spring + Cache/Ehcache
- spring cache和ehcache
- Ehcache配置问题(二)Element <cache> does not allow attribute "maxEntriesLocalHeap".
- WP-Super Cache Garbage collection is not scheduled
- Error was tenMinuteCache Cache: The Disk store is not active.
- Second-level cache is not enabled for usage 异常
- 记一笔keep-alive和cache-control
- org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage
- org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage
- 异常:org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hiber
- 项目管理学习总结(6)——产品经理常用的工具有哪些?
- Bad Hair Day--(单调队列)
- HDU6119尺取法
- XML、JSON、Map/List/JavaBean转换
- [caioj]1490: 基于连通性状态压缩的动态规划问题:Eat the Trees
- ehcache Cache is not alive (STATUS_SHUTDOWN)
- 单链表的快排实现
- 17暑假多校联赛5.8 HDU 6092 Rikka with Subset
- Java中的transient关键字,使用小结
- UVA12034Race
- 浅谈数据库游标
- Linux下更换默认yum源为网易yum源的操作记录
- 进程间通信
- 计算直线的交点数(HDU-1466)