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"
        />

  • 相关阅读:
    Bean
    DI
    require import export
    JSON转js
    vue路由相关
    JS引号区别
    Go语言系列之标准库strconv
    Go语言系列之标准库flag
    Go语言系列之并发编程
    Go语言系列之自定义实现日志库
  • 原文地址:https://www.cnblogs.com/luihengk/p/7098896.html
Copyright © 2011-2022 走看看