一个jeecms部署的站点,3个服务器以nfs的方式共享程序文件。前端是nginx,迁移完毕后,启动正常,但过一会以后,再次用浏览器访问出现如下报错:

 

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: com.jeecms.cms.entity.main.ContentCountCache: Could not remove disk store entry for key com.jeecms.cms.entity.main.ContentCount#508. Error was com.jeecms.cms.entity.main.ContentCount Cache: The Disk store is not active.
	org.springframework.web.servlet.FrameworkServlet.proce***equest(FrameworkServlet.java:656)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)

搞了很久,时好时坏,看不懂java悲催啊。先改一下文件 ehcache-application.xml,找到“diskStore path=”,我把它改成 “”(默认的是)。嘿,好像行了,再观察一把,看是不是这个问题