当前位置: 代码迷 >> Java Web开发 >> 请问registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
  详细解决方案

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

热度:12377   发布时间:2013-02-25 21:05:47.0
请教registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
部署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目录下了。怎么解决?谢谢!!
mysql


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 
  相关解决方案