手机版
你好,游客 登录 注册
背景:
阅读新闻

Linux下用JAVA和JSP连接MySQL连接池

[日期:2011-04-05] 来源:Linux社区  作者:Linux [字体:大 中 小]

Tomcat 6.0.24 BUG

org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: A web application registered the JBDC driver [Oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2010-2-27 17:39:11 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Name of currently proxied bean]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
2010-2-27 17:39:11 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
2010-2-27 17:39:11 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: A web application created a ThreadLocal with key of type [null] (value [com.sun.faces.config.ConfigureListener$1@1baa0bb]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

-----------------------------------------------------------------------------------------------------

2010-2-27 17:29:39 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: A web application registered the JBDC 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.
2010-2-27 17:29:39 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: A web application created a ThreadLocal with key of type [null] (value [com.sun.faces.config.ConfigureListener$1@1c4e792]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

足足搞了三天啊!!

tomcat6.0.24和ORACLE10g JDBC,MYSQL5 JDBC的兼容性都有问题!每次关闭TOMCAT都会报错!!启动和使用没什么问题!google,baidu了至少100遍都没解决!在最后抱着试试的态度,把JDBC jar包直接扔进tomcat启动看有没问题,又是同样的信息!结论是tomcat的问题,不是我工程配置的问题!然后换了tomcat5.5.28绿色版本!OK!一切正常了!欲哭无泪啊!!555555555555555555...三天时间啊!!

-------------------------------

还有一个可能,机器上装了tomcat windows安装版,使用时,是使用其他tomcat的绿色版

卸载所有tomcat windows 安装版

linux
相关资讯       Tomcat 
本文评论   查看全部评论 (1)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 1 楼
* 大事发生 发表于 2011/11/1 15:31:11
兄弟拜托,仔细看看,你用的是连接池吗? 呀呢***铃啊