警告: The web application [bank] 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.
一月 08, 2019 5:58:16 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [bank] 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.
一月 08, 2019 5:58:16 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [bank] 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 W o r k e r . r u n ( T h r e a d P o o l E x e c u t o r . j a v a : 617 ) j a v a . l a n g . T h r e a d . r u n ( T h r e a d . j a v a : 745 ) 一 月 08 , 20195 : 58 : 16 下 午 o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e c h e c k S t a t e F o r R e s o u r c e L o a d i n g 信 息 : I l l e g a l a c c e s s : t h i s w e b a p p l i c a t i o n i n s t a n c e h a s b e e n s t o p p e d a l r e a d y . C o u l d n o t l o a d [ ] . T h e f o l l o w i n g s t a c k t r a c e i s t h r o w n f o r d e b u g g i n g p u r p o s e s a s w e l l a s t o a t t e m p t t o t e r m i n a t e t h e t h r e a d w h i c h c a u s e d t h e i l l e g a l a c c e s s . j a v a . l a n g . I l l e g a l S t a t e E x c e p t i o n : I l l e g a l a c c e s s : t h i s w e b a p p l i c a t i o n i n s t a n c e h a s b e e n s t o p p e d a l r e a d y . C o u l d n o t l o a d [ ] . T h e f o l l o w i n g s t a c k t r a c e i s t h r o w n f o r d e b u g g i n g p u r p o s e s a s w e l l a s t o a t t e m p t t o
警告: The web application [bank] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but
最新推荐文章于 2024-07-17 16:46:57 发布
博客内容涉及Tomcat在停止web应用时未能正确注销JDBC驱动,导致出现内存泄漏警告。主要提及了DruidDriver和MySQL JDBC Driver,以及Abandoned connection cleanup thread线程可能引发的问题。
摘要由CSDN通过智能技术生成