@Jfinal是一个Spring和jfinal集成的问题

我在SpringMVC中集成了jfinal微信,在web.xml中添加了jfinal过滤器

Image 1.png

但是在关闭服务器的时候会报以下错误

严重: The web application [/chefu_logistics_admin] 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.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc

严重: The web application [/chefu_logistics_admin] 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.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] 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.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.

二月 09, 2017 4:29:10 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads

严重: The web application [/chefu_logistics_admin] appears to have started a thread named [Okio Watchdog] but has failed to stop it. This is very likely to create a memory leak.

二月 09, 2017 4:29:11 下午 org.apache.catalina.core.ApplicationContext log


请问应该如果解决?非常感谢

评论区

JFinal

2017-02-09 17:19

检查一下是否有某个线程是非 deamon 的,造成无法删除对 druid driver 的注册

jounzhang

2018-01-22 09:49

可能是druid的一个bug,升级最新版试一下,以前遇到过

热门反馈

扫码入社