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