ehcache could not remove disk store for sql 2010-4-13 9:42:13 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet jsp threw exception net.sf.ehcache.CacheException: tenMinuteCacheCache: Could not remove disk store entry for class com.chinaclick.terry.util.ContentUtils_20. Error was tenMinuteCache Cache: The Disk store is not active. at net.sf.ehcache.store.DiskStore.remove(DiskStore.java:469) at net.sf.ehcache.Cache.remove(Cache.java:1101) at net.sf.ehcache.Cache.searchInMemoryStore(Cache.java:908) at net.sf.ehcache.Cache.get(Cache.java:733) at net.sf.ehcache.Cache.get(Cache.java:710) at com.chinaclick.allen.front.util.ShowUtil.getObject(ShowUtil.java:223) at com.chinaclick.terry.util.ContentUtils.getNews(ContentUtils.java:204) at org.apache.jsp.front.index_jsp._jspService(index_jsp.java:142) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)
是缓存路径问题
首先说明:我们在ehcache.xml <diskStore path="java.io.tmpdir"/>配置了缓存溢出到的磁盘路径
可以通过:
- System.out.println(System.getProperty("java.io.tmpdir"));
- 在文件按目录下有一下文件:
- com.eric.po.B.data--------0kb
- cache_a.data ------------4 kb
- org.hibernate.cache.StandardQueryCache.data ---0kb
- org.hibernate.cache.UpdateTimestampsCache.data -----0kb
在文件按目录下有一下文件: com.eric.po.B.data--------0kb cache_a.data ------------4 kb org.hibernate.cache.StandardQueryCache.data ---0kb org.hibernate.cache.UpdateTimestampsCache.data -----0kb
其中 cache_a中保存了我们的缓存文件
StandardQueryCache.data 则是 设置默认的查询缓存的数据过期策略 产生的文件,
org.hibernate.cache.UpdateTimestampsCache.data则是 设置时间戳缓存的数据过期策略
如果不适用我们自己的缓存配置就会使用类类的全路径路径文件(com.eric.po.B.data)来缓存我们的数据。
相关推荐
Error #541: 'NordicSemiconductor::Device:Startup:8.27.0' component is missing (previously found in pack 'NordicSemiconductor.nRF_DeviceFamilyPack_NordicLicense')
The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. ...
ReferenceError: AMap is not defined AMap未定义
(DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, ...),我找到了合适的libmysql.dll和dbxmys.dll组合,把下面这个libmysql.dll拷贝到XE的bin目录...
Failure to transfer org.codehaus.plexus:plexus-archiver:pom:1.0 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update ...
1、写在开头 标题之前我想说一下Linux的mysql真的实在是太坑了。太坑了。总是会出现这样那样的你想不到的问题。崩溃了。首先来罗列一下我遇到过的一些问题吧。 1、大小写敏感 2、连接数超过系统最大连接数 ...
NULL 博文链接:https://snowelf.iteye.com/blog/507976
{"error":"Report is not available. At least one analysis is required after installing the plugin!"} 【解决方案】:下载插件,根据文档导入插件后,重新单击下载即可导出PDF成功 【参见文档】:...
Ubuntu18系统下,在安装cuda及nvidia驱动时,安装失败,查看日志显示“ERROR: The nvidia kernel module was not created.” 指令如下: sudo ./cuda_10.1.168_418.67_linux.run 解决办法: nvidia内核模块没有被...
main.c(35): warning: #128-D: loop is not reachable from preceding code main.c(54): warning: #1-D: last line of file ends without a newline initSpi.c(6): error: #268: declaration may not appear after ...
JMeter导入jmx运行脚本时出现这样的错误jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException:2016/12/20 13:51:55 ERROR - jmeter.save.SaveService: Conversion ...
最近在使用python过重遇到这个问题,NameError: name 'xxx' is not defined,在学习python或者在使用python的过程中这个问题大家肯定都遇到过,在这里我就这个问题总结以下几种情况: 错误NameError: name ‘xxx’ ...
基于msvc2017编译器的uic.exe,解压到对应目录即可正常运作了。常常遇到-1: error: dependent '..\..\..\Qt\Qt5.11.0\5.11.0\msvc2017_64\bin\uic.exe' does not exist.
NULL 博文链接:https://lbay.iteye.com/blog/784874
根据提供的内容描述,出现的错误为`MWMCR::EvaluateFunction error: Undefined function or method 'sim' for input arguments of type 'struct'`。此错误表明Matlab无法识别名为`sim`的函数,并且该函数试图处理...
AttributeError: module 'tensorflow.compat.v1' has no attribute 'contrib'的问题您具体怎么解决问题具体解决的seq_loss.py文件
ERROR: Failed to resolve: com.serenegiant:common:2.12.4 Show in Project Structure dialog 或者 ERROR: Failed to resolve: com.serenegiant:common:1.5.20 Show in Project Structure dialog ``` 报...
django 设置settings.py,本文以mysql 为例,说明怎样配置mysql d的连接
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder! 问题的缺失文件 eclipse.buildId=M20100211-1343 java.version=1.6.0_10-rc2 java.vendor=Sun Microsystems Inc. ...