[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 was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
有道雲翻譯:(處理得到/ jenkins /工作/ static_web xxx.xxx.xxx.xxx /配置:http - nio - 8080 - exec - 8]org.apache.catalina.webresources.Cache。getResource無法添加資源[/ web - inf / classes / lib /形式/行集。對於web應用程式(/ jenkins)的緩衝,因為在清除到期的緩衝條目後沒有足夠的可用空間——考慮增加緩衝的最大大小
搜尋到一篇博文:http://blog.csdn.net/xiaocao9903/article/details/53393473
在tomcat的/conf/context.xml中的<Context>中添加
<!--這裡單位是 KB-->
<Resources cachingAllowed="true" cacheMaxSize="100000" >
Resources 是資源定義元素
cachingAllowed和cacheMaxSize 是公用屬性
代表的意思是:
cachingAllowed:如果此標誌的值是true,將用於靜態資源的快取。如果沒有指定,該標誌的預設值是true。這個值可以在Web應用程式運行時變更(例如,通過JMX)。
當緩衝在緩衝禁用任何資源目前是從緩衝中清除。
cacheMaxSize :以KB為單位的靜態資源緩衝的最大尺寸。如果未指定,則預設值為10240 (10MB)。這個值可以在Web應用程式運行時變更(例如,通過JMX)。
如果緩衝正在使用的記憶體大於新的限制緩衝將嘗試規模隨著時間的推移,
以滿足新的限制,以減少。如果需要的話,cacheObjectMaxSize將降低,以確保它是不大於 cacheMaxSize/20。
在這裡,十分感謝博主的博文。