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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat 警告:consider increasing the maximum size of the cache相关的知识,希望对你有一定的参考价值。

安装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的主要内容,如果未能解决你的问题,请参考以下文章

vue报start value has mixed support, consider using flex-start instead”编译警告,在这里轻松解决!

vue报start value has mixed support, consider using flex-start instead”编译警告,在这里轻松解决!

here was insufficient free space available after evicting expired cache entries - consider increasin

Client does not support authentication protocol requested by server; consider upgrading MySQL client

Client does not support authentication protocol requested by server; consider upgrading MySQL client

Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking ev