[Handling get/jenkins/job/static_web/configure from xxx.xxx.xxx.xxx:http-nio-8080-exec-8] Org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/web-inf/classes/lib/form/ Rowset.jelly] to the cache for Web application [/jenkins] because there were insufficient free space available after evicti Ng expired Cache Entries-consider Increasing the maximum size of the cache
There are Michikumo translations: (Processing get/Jenkins/work/Static_web xxx.xxx.xxx.xxx/configuration: HTTP-NIO-8080-EXEC-8]ORG.APACHE.CATALINA.WEBRESOURCES.CAC He GetResource cannot add resource [/web-inf/classes/lib/FORM/rowset. Caching for Web applications (/Jenkins) because there is not enough free space after expired cache entries are cleared-consider increasing the maximum size of the cache
Search for a blog post: http://blog.csdn.net/xiaocao9903/article/details/53393473
Added in the <Context> in Tomcat's/conf/context.xml
<!--this unit is kb-->
<resources cachingallowed= "true" cachemaxsize= "100000" >
Resources are resource definition elements
Cachingallowed and Cachemaxsize are public properties
The meaning of the Representative is:
Cachingallowed: If the value of this flag is true, the cache will be used for the static resource. If not specified, the default value of the flag is true. This value can be changed while the Web application is running (for example, through JMX).
When caching is disabled in the cache, any resources are currently purged from the cache.
Cachemaxsize: The maximum size of the static resource cache in kilobytes. If not specified, the default value is 10240 (10 megabytes). This value can be changed while the Web application is running (for example, through JMX).
If the cache is using more memory than the new limit cache will attempt to scale over time,
To meet the new limits to reduce. If necessary, the cacheobjectmaxsize will be lowered to ensure that it is not less than CACHEMAXSIZE/20.
Here, I am very grateful to bloggers for their blog posts.