tomcat应用org.apache.catalina.LifecycleException: Failed to stop component [StandardEngine[Catalina].S...

博客讲述了作者遇到的一个Tomcat应用启动失败的问题,表现为404错误,通过查看catalina.out日志发现是由于在停止Context时出现了 LifecycleException。进一步排查发现是由于WebappClassLoaderBase在清理资源时的NullPointerException,可能是由于某个jar包缺失导致。作者怀疑是由于<Context>节点的reloadable设置为"true",在自动加载过程中版本不一致引发的问题。
摘要由CSDN通过智能技术生成

早上,有个应用又挂了,客户端打开时报404,看进程是还在的。倒回第一次异常的地方,可见catalina.out中有如下信息:

08:46:56.646 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG o.s.b.f.s.DisposableBeanAdapter - Invoking destroy() on bean with name 'org.springframework.scheduling.config.ContextLifecycleSchedul
edTaskRegistrar#0'
08:46:56.647 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved dependent beans for bean '(inner bean)#293beccc': [org.springframework.aop.aspectj.A
spectJPointcutAdvisor#1]
08:46:56.647 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved dependent beans for bean '(inner bean)#debcf58': [(inner bean)#293beccc]
08:46:56.647 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved d

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值