zoukankan      html  css  js  c++  java
  • tomcat部署jenkins启动报错:insufficient free space available after evicting expired cache entries-consider increasing the maximum size of the cache.

    在tomcat里面部署jenkins,启动tomcat,在jenkins上操作不久之后,jenkins就挂掉了,查看tomcat控制台,报内存溢出信息:

    解决该问题方法,修改tomcat/bin目录下的catalina.bat文件,增加JVM内存,如图:
    重启tomcat,在启动过程中出现报错信息:
    org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB=INF/classes/META-INF/services/org.codehuas.groovy.source.Extensions] to the chache becasuse there was insufficient free space available after evicting expired cache entries-consider.
    解决该问题方法,修改tomcat/conf/context.xml文件,增加资源最大可缓存的大小:
    <Resources
            cachingAllowed="true"
            cacheMaxSize="102400"
        />

  • 相关阅读:
    Corn Fields
    状压DP
    全排列函数
    搜索
    前缀和与差分
    最小花费
    【Lintcode】062.Search in Rotated Sorted Array
    【LeetCode】039. Combination Sum
    【LeetCode】040. Combination Sum II
    【LeetCode】047. Permutations II
  • 原文地址:https://www.cnblogs.com/luihengk/p/7098896.html
Copyright © 2011-2022 走看看