严重: The web application [/] registered the JDBC driver [xxx.xxx.xxx] but failed to unregister ...

本文介绍了Tomcat服务器启动时遇到数据库驱动注册异常的问题,问题源于开发环境与服务器环境JDK版本不一致。解决方案包括确保JDK版本匹配、避免使用kill命令直接停止Tomcat以及检查部署配置,防止deploy执行两次。
摘要由CSDN通过智能技术生成

问题描述:

Tomcat 服务器启动报异常提示数据库驱动不能被注册,当应用被停止时。为了防止内存泄漏,已强制注销JDBC驱动程序。折腾了2小时最后LZ定位问题是出于开发环境与服务器环境JDK版本不一致导致的。

异常信息:

严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
二月 23, 2021 3:14:08 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/usst_app] startup failed due to previous errors
二月 23, 2021 3:14:08 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [/usst_app] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
二月 23, 2021 3:14:08 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [/usst_app] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

张小洛

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值