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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM