tomcat启动中提示 - consider increasing the maximum size of the cache

tomcat启动过程中提示:

org.apache.catalina.webresources.Cache.getResource Unable to add the resource at xxx to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

解决办法:

 

在 /conf/context.xml 的 </Context>前添加以下内容:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

更多信息: http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html

posted @ 2016-10-18 14:29  Mason.Ke  阅读(1037)  评论(0编辑  收藏  举报