开发者社区> 问答> 正文

使用 Tomcat 7 出现的两个严重错误

启动、运行都完全没问题,但是与 Tomcat 6 不同的是,停止的时候出现两个严重的错误:

严重: The web application [] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

严重: The web application [] appears to have started a TimerThread named [MySQL Statement Cancellation Timer] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly canceled.
哪位大神给解释一下。

展开
收起
落地花开啦 2016-05-27 10:48:03 2054 0
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    第一个错误是说 MySQL 的驱动必须手工的进行注销;
    第二个错误是 MySQL 的驱动里有个线程无法停止。不过是在停止 Tomcat 才出的错,无所谓了。

    2019-07-17 19:17:18
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载