求大神解答,tomcat关闭的时候报jdbc驱动unregister失败,是怎么回事啊?

sinat_35496237 2017-02-15 05:50:43
自己整合SSM,启动和运行没有问题,但是正常关闭的时候会报这个警告。应该怎么解决?

警告: The web application [ebidding-controller] 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.
二月 15, 2017 5:24:55 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [ebidding-controller] registered the JDBC 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.
二月 15, 2017 5:24:55 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [ebidding-controller] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
java.util.TimerThread.mainLoop(Timer.java:526)
java.util.TimerThread.run(Timer.java:505)
...全文
463 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
逗泥丸的平方 2017-02-16
  • 打赏
  • 举报
回复
引用 2 楼 sinat_35496237 的回复:
kill -9 就等于直接强退tomcat吧? 跟terminal一样吧。 没有根本解决问题啊
解决不了就绕过 程序员的智慧吧
sinat_35496237 2017-02-15
  • 打赏
  • 举报
回复
kill -9 就等于直接强退tomcat吧? 跟terminal一样吧。 没有根本解决问题啊
Defonds 2017-02-15
  • 打赏
  • 举报
回复
有人去官网求助,给的答案是 kill -9 不过这么干之前记得前端代理先断流哦

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧