码迷,mamicode.com
首页 > 系统相关 > 详细

Tomcat 警告:consider increasing the maximum size of the cache

时间:2017-08-24 19:44:41      阅读:890      评论:0      收藏:0      [点我收藏+]

标签:tomcat

安装Jenkins日志中出现如下警告:

24-Aug-2017 10:30:29.462 警告 [http-nio-8080-exec-2] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/jsbundles/config-tabbar.js] to the cache for web application [/jenkins] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


处理方法:修改Tomcat cacheMaxSize

vim /usr/local/tomcat/conf/context.xml 

<Context>

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

</Context>


参考博文:http://www.cnblogs.com/andy-zhou/p/5868850.html

Tomcat 警告:consider increasing the maximum size of the cache

标签:tomcat

原文地址:http://linux10000.blog.51cto.com/6338282/1958925

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!