报错信息如下:**为任意位置

org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [**] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

只要在$CATALINA_BASE/conf/context.xml里增加资源最大可缓存的大小就行了,大小可按自己的需要定义

cacheMaxSize

The maximum size of the static resource cache in kilobytes. If not specified, the default value is 10240 (10 megabytes). This value may be changed while the web application is running (e.g. via JMX). If the cache is using more memory than the new limit the cache will attempt to reduce in size over time to meet the new limit. If necessary, cacheObjectMaxSize will be reduced to ensure that it is no larger thancacheMaxSize/20.

<?xml version='1.0' encoding='utf-8'?>
<Context><WatchedResource>WEB-INF/web.xml</WatchedResource><WatchedResource>${catalina.base}/conf/web.xml</WatchedResource><Resources cachingAllowed="true" cacheMaxSize="100000" />
</Context>

更多信息: http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html

转载于:https://blog.51cto.com/bingowu/1881077

tomcat WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]]相关推荐

  1. Exception in thread ContainerBackgroundProcessor[StandardEngine[Catalina]] java.lang.OutOfMemoryEr

    confluence 在使用的过程中发现不能编辑的情况,查看后台日志看 报错如标题 详细如下: 26-Mar-2020 15:19:31.400 警告 [ContainerBackgroundProc ...

  2. 运行tomcat报Exception in thread ContainerBackgroundProcessor[StandardEngine[Catalina]]

    解决方法1:    手动设置MaxPermSize大小,如果是linux系统,修改TOMCAT_HOME/bin/catalina.sh,如果是windows系统,修改TOMCAT_HOME/bin/ ...

  3. tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].

    一.问题 tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost]. 多半情况是找不到 ...

  4. tomcat无法启动 Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardConte

    在我们写javaweb工程时,启动发布项目和启动tomcat是必须要完成的步骤,昨天启动tomcat时, 服务器报了 Failed to start component [StandardEngine ...

  5. tomcat启动时错误:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].错误

    今天第一次遇到Failed to start component [StandardEngine[Catalina].StandardHost[localhost].错误,并且在错误提示的后半段出现了 ...

  6. Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext

    程序是spring boot的.更换了一台服务器就报这个错误了:Failed to start component [StandardEngine[Catalina].StandardHost[loc ...

  7. Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

    05-Nov-2019 10:47:39.302 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ContainerBase ...

  8. [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletTest_war]]

    org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].Stan ...

  9. Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/account

    Tomcat报错: 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start ...

最新文章

  1. Dubbo基础专题——第四章(Dubbo整合Nacos分析细节点)
  2. 1.6.2 java路径下载_《我的世界1.6.2》官方下载 单机我的世界1.6.2中文整合版_SJ3G游戏中心...
  3. iOS上的jQuery.on()冒泡事件绑定 以及 iOS绝对定位元素中的输入框
  4. 后端技术:Mybatis是如何解析配置文件的?
  5. commvault备份mysql,备份MySQL数据库的4种方式
  6. Swagger使用————接口参数注解的使用缺陷
  7. gdal1.6linux编译,VS2015下编译64位GDAL总结
  8. 杨笠代言电脑遭投诉抵制,网友吵翻!英特尔回应了...
  9. java怎么新建模块_spring boot添加新模块的方法教程
  10. iOS笔记(一)GCD多线程:信号量和条件锁
  11. Java EE组件技术
  12. 梦想、执行力与新起点
  13. ZCuPb10Sn10铸造锡青铜板ZCuPb10Sn10力学性能
  14. 使用foobar2000将cue文件分割wav、ape、flac无损音乐
  15. SpatialDB |单细胞空间转录组数据分析可视化平台
  16. 面对台风“烟花”,旅行延误会如何赔付?
  17. C#针式打印机自定义纸张连续打印爬坑过程
  18. 实对称矩阵及其几大性质
  19. idea+phpstudy完成php对数据库的操作
  20. 解决sublime汉化后部分中文显示为繁体字

热门文章

  1. CI框架css引入出现问题
  2. MyEclipse优化---编程时更流畅
  3. JS实例学习笔记——w3cschool+菜鸟教程
  4. 杂篇-从整理文件发起的杂谈[-File-]
  5. 5G技术与触觉互联网,一个全新的世界
  6. Lync2013 恢复-整残之后如何重新安装
  7. Silverlight实用窍门系列:61.Silverlight中的Trigger触发器,自定义翻页触发器
  8. php 函数:func_get_args()、func_get_arg()与func_num_args()
  9. (转) Weblogic 12c 集群部署和session复制
  10. 学会放下包袱,热爱单例