首页 新闻 会员 周边 捐助

关闭tomcat时报错。

0
悬赏园豆:10 [待解决问题]
19-Jul-2017 10:48:43q.439 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [SSH] 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.
19-Jul-2017 10:48:43.440 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [SSH] appears to have started a thread named [Abandoned connection cleanup thread] 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.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:64)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)

萌新求救la

zhang_san的主页 zhang_san | 初学一级 | 园豆:191
提问于:2017-07-19 10:47
< >
分享
所有回答(2)
0

把tomcat下log信息贴出来一下,例如

D:\Program Files\Apache Software Foundation\Tomcat 8.0\logs

找到localhost.2017-07-19.log打开看看具体报错是什么

ycyzharry | 园豆:25683 (高人七级) | 2017-07-19 12:47
0

你是不是在程序中没有关闭一些连接

吉吉的城 | 园豆:566 (小虾三级) | 2017-07-19 21:15
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册