consider increasing the maximum size of the cache

下午打了一个小盹,等醒来的时候,启动Tomcat,Tomcat报了满屏的警告。。。

[2017-06-20 07:53:20,948] Artifact cms:war exploded: Artifact is being deployed, please wait...
20-Jun-2017 19:53:23.193 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.nolog.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.196 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.nolog.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.198 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.withoutimage.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.200 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.withoutimage.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.214 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/jquery] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.216 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/jquery-2.2.3.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.217 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/layer] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.218 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/security] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.219 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/tree-table] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.220 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/ztree] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.222 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/bootstrap.txt] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.223 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.223 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.225 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.227 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap-theme.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.229 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap-theme.css.map] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.231 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap-theme.min.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.232 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.234 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap.css.map] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.235 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap.min.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.238 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.eot] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.239 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.svg] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.241 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.ttf] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.243 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.woff] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.244 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.woff2] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.247 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/js/bootstrap.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.248 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/js/npm.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.250 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap-datepicker-master/css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.253 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap-datepicker-master/js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.255 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap-datepicker-master/locales] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

提醒服务器内存不足,解决方案是:

在Tomcat的安装目录下,conf文件夹里面的context.xml,添加:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

 

posted on 2017-06-20 20:43  水镜号吃鱼居士  阅读(1940)  评论(0编辑  收藏  举报