请教registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister

yschat2012 2013-01-04 11:04:50
部署JSP时出现:
[/openmeetings] startup failed due to previous errors
2013-01-04 22:51:25,676 [main] ERROR o.a.c.loader.WebappClassLoader - The web application [/openmeetings] 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.
2013-01-04 22:51:25,676 [main] ERROR o.a.c.loader.WebappClassLoader - The web application [/openmeetings] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver40] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2013-01-04 22:51:25,676 [main] ERROR o.a.c.loader.WebappClassLoader - The web application [/openmeetings] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver40] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2013-01-04 22:51:25,676 [main] ERROR o.a.c.loader.WebappClassLoader - The web application [/openmeetings] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
请教高手,这是什么问题?我已经把mysql-connector-java-5.1.22-bin.jar包导入到openmeetings\webapps\openmeetings\WEB-INF\lib目录下了。怎么解决?谢谢!!
...全文
14479 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
十三朝毛驴 2014-11-17
  • 打赏
  • 举报
回复
其实这个问题不是你项目本身的问题,是数据库jar包或者tomcat本身的问题;你可以降低你的tomcat版本去规避这个问题;
十三朝毛驴 2014-11-17
  • 打赏
  • 举报
回复
将你的数据库驱动jar包移动到tomcat本身的lib文件夹下;不要将数据库驱动jar包引用添加到你的项目中;
z_yes163 2013-01-07
  • 打赏
  • 举报
回复
2、在tomcat的server.xml文件中,把 <!-- Prevent memory leaks due to use of particular java/javax APIs--> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>这个监听给关了 然后你 不要使用tomcat 6.0 还使用tomcat 5.5
yschat2012 2013-01-07
  • 打赏
  • 举报
回复
救救我啊!!
yschat2012 2013-01-07
  • 打赏
  • 举报
回复
没人知道吗?算了,谁回帖我都给分!!
proxool.0.9.1基础上做了修改。 改jar名称为:proxool-0.9.1.1,主要修改为以下3点: 1.解决不能Unregister jdbc driver的内存泄露问题。 十二月 02, 2013 8:19:43 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/xxx] registered the JDBC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. 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 [/xxx] 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. 十二月 02, 2013 8:19:43 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/xxx] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2.解决housekeeper内存泄露问题 3.解决与spring配合时,只能在spring的定义中以bean方式加载proxool的问题。(使用servlet方式加载也可以,只是在启动时报错) 加载方式修改为: xmlFile /WEB-INF/conf/proxool.xml org.logicalcobwebs.proxool.configuration.ListenerConfigurator 与spring配合使用时,本加载需要放在spring前面 org.logicalcobwebs.proxool.configuration.ListenerConfigurator org.springframework.web.context.ContextLoaderListener 4.修正了proxool在多线程环境下的的错误。

81,094

社区成员

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

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