`
rhodian
  • 浏览: 69972 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

the JDBC Driver has been forcibly unregistered问题解决

 
阅读更多

最近调试环境,启动tomcat遇到如下问题:

严重: The web application [/service] 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.
一月 25, 2018 11:58:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/service] 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.
一月 25, 2018 11:58:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/service] 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.
一月 25, 2018 11:58:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/service] appears to have started a thread named [New I/O worker #1] but has failed to stop it. This is very likely to create a memory leak.
一月 25, 2018 11:58:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/service] appears to have started a thread named [New I/O worker #2] but has failed to stop it. This is very likely to create a memory leak.
一月 25, 2018 11:58:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/service] appears to have started a thread named [New I/O worker #3] but has failed to stop it. This is very likely to create a memory leak.
一月 25, 2018 11:58:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/service] appears to have started a thread named [New I/O worker #4] but has failed to stop it. This is very likely to create a memory leak.

 

查看catalina.out日志,前前后后都没有任何错误信息。

 

网上有说热部署造成的,有说jar包冲突造成的,也有说可以忽略的,全部试了一遍以后,并不能解决问题。

 

其实造成这个问题的原因有很多种,比如数据库连不上,中间件连接初始化失败等等。但是,都不会输出在catalina.out,而是输出到logs目录下的localhost.201x-xx-xx.log文件。如果遇到这种问题,可以查看该日志,可迅速定位问题原因。

分享到:
评论

相关推荐

    关闭tomca报错t,网络整理

    关闭tomcat报错,网络搜索整理 严重: The web application [/img] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to... To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

    Proxool-0.9.1

    To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 十二月 02, 2013 8:19:43 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/...

    DNS.and.BIND.on.IPv6(第1版)

    Cricket began managing the hp.com zone after the Loma Prieta earthquake forcibly transferred the zone's management from HP Labs to HP's Corporate Offices (by cracking a sprinkler main and flooding a ...

    08年英语六级核心词汇-副词+名词

     forcibly ad. 强行地,有力地  formerly ad. 原先地,以前,从前  increasingly ad. 日益,越来越多地  inevitably ad. 必然地,不可避免地  intentionally ad. 有意地,故意地 optimistically ad. 乐观地...

    stdafx.h代码

    stdafx.h的代码// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) 1992-1998 Microsoft Corporation // All rights reserved. // // This source code is only intended as a ...

    Force scrollbars-crx插件

    语言:Bahasa Indonesia,Bahasa Melayu,Deutsch,English,English (UK),English (United States),Filipino,Français,Kiswahili,Nederlands,Norsk,Tiếng Việt,Türkçe,...Forcibly enable scrollbar on sites that

Global site tag (gtag.js) - Google Analytics