tomcat9-jenkins:insufficient free space available after evicting expired cache entries-consider

来源:互联网 发布:淘宝店铺保证金怎么交 编辑:程序博客网 时间:2024/06/03 23:54
解决该问题方法,修改tomcat/conf/context.xml文件,增加资源最大可缓存的大小:

<Context>

    <!-- Default set of monitored resources. If one of these changes, the    -->
    <!-- web application will be reloaded.                                   -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<Resources
        cachingAllowed="true"
        cacheMaxSize="100000"
    />
    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->
</Context>

转自:
http://www.cnblogs.com/luihengk/p/7098896.html
阅读全文
0 0
原创粉丝点击