Tomcat 警告:consider increasing the maximum size of the cache
2018-02-06 20:11
447 查看
最近在Tomcat8上导入原本Tomcat6的项目,报了以下错误:Tomcat 警告:consider increasing the maximum size of the cache。
这是因为tomcat8以上对resource采取了cache,而默认的大小是10M。
解决的办法很简单,就是在context.xml中调大缓存。
代码:<Resources cachingAllowed="true" cacheMaxSize="100000" />
这是因为tomcat8以上对resource采取了cache,而默认的大小是10M。
解决的办法很简单,就是在context.xml中调大缓存。
代码:<Resources cachingAllowed="true" cacheMaxSize="100000" />
相关文章推荐
- tomcat consider increasing the maximum size of the cache java.lang.IncompatibleClassChangeError: Imp
- 警告:consider increasing the maximum size of the cache
- Tomcat8启动报there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
- 【tomcat8】consider increasing the maximum size of the cache
- tomcat启动中提示 - consider increasing the maximum size of the cache
- consider increasing the maximum size of the cache
- here was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
- consider increasing the maximum size of the cache
- consider increasing the maximum size of the cache. After eviction approximately [10,239] KB of data
- consider increasing the maximum size of the cache
- consider increasing the maximum size of the cache.
- springboot tomcat8 duplicate springSecurityFilterChain and increasing the maximum size of the cache
- .\ethercat.axf: error: L6047U: The size of this image (33488 bytes) exceeds the maximum allowed for
- error: L6047U: The size of this image (32868 bytes) exceeds the maximum allowed for this version of
- Data Structure Array: Find the Increasing subsequence of length three with maximum product
- ubuntu 报错:Dynamic MMap ran out of room.Please increase the size of APT::Cache-Limit
- 爬网日志中的警告信息:文件达到最大下载次数,The file reached the maximum download limit. Check that the full text of the document can be meani
- Spring Boot修改最大上传文件限制:The field file exceeds its maximum permitted size of 1048576 bytes.
- 关于Size of the Database Buffer Cache与Streams Pool
- Why is the maximum size of the Java heap fixed?