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

时间: 2024-08-25 05:07:00

Tomcat 警告:consider increasing the maximum size of the cache的相关文章

consider increasing the maximum size of the cache

下午打了一个小盹,等醒来的时候,启动Tomcat,Tomcat报了满屏的警告... [2017-06-20 07:53:20,948] Artifact cms:war exploded: Artifact is being deployed, please wait... 20-Jun-2017 19:53:23.193 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource

here was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

tomcat重启后报以下错误: 09-Dec-2016 10:57:49.150 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/struts/PersonnelActio n.xml] to the cache because there was insufficient free

tomcat警告:Setting property &#39;source&#39; to &#39;org.eclipse.jst.j2ee.server:ServletPro&#39; did not find a matching property

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:ServletPro' did not find a matching property. 原因:这是因为我们在eclipse下,通过tomcat部署web工程时,tomcat的配置文件server.xml中会自动生成一个关于该web工程的配置信息,类似于下面的东

tomcat 大并发报错 Maximum number of threads (200) created for connector with address null and port 8080

1.INFO: Maximum number of threads (200) created for connector with address null and port 8091 说明:最大线程数错误 解决方案: 使用线程池,用较少的线程处理较多的访问,可以提高tomcat处理请求的能力.使用方式: 首先.打开/conf/server.xml,增加 [html] view plain copy print? <Executor name="tomcatThreadPool"

[LeetCode] Maximum Size Subarray Sum Equals k 最大子数组之和为k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given nums = [1, -1, 5, -2, 3], k = 3, return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is th

325. Maximum Size Subarray Sum Equals k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Note: The sum of the entire nums array is guaranteed to fit within the 32-bit signed integer range. Example 1: Given

[Locked] Maximum Size Subarray Sum Equals k

Example 1: Given nums = [1, -1, 5, -2, 3], k = 3,return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is the longest) Example 2: Given nums = [-2, -1, 2, 1], k = 1,return 2. (because the subarray [-1, 2] sums to 1 and is the longest) Follow U

[?]*Maximum Size Subarray Sum Equals k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given nums = [1, -1, 5, -2, 3], k = 3,return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is the

Leetcode: Maximum Size Subarray Sum Equals k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given nums = [1, -1, 5, -2, 3], k = 3, return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is th