大神们 求救

YetAlpha 2011-11-05 04:10:48
2011-11-5 15:44:28 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/tp] 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.
2011-11-5 15:44:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/tp] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2011-11-5 15:44:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/tp] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.

myeclipse 启动tomcat 第一次不会报,重新发布我的TP项目控制台就会跳出来以上信息

求帮助!
...全文
332 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
awers 2012-07-27
  • 打赏
  • 举报
回复
这应该是在TOMCAT的 server.xml的Context里配置了reloadable="true"然后在运行时更新了类吧?
果木 2012-07-26
  • 打赏
  • 举报
回复
怎么没有人回啊 我也是这个问题!!顶起来啊
朗晴 2011-11-07
  • 打赏
  • 举报
回复
看不懂
YetAlpha 2011-11-07
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 zhang0114 的回复:]

楼主是不是用的tomcat6.21
[/Quote]
7.0
EngineZhang 2011-11-07
  • 打赏
  • 举报
回复
楼主是不是用的tomcat6.21
YetAlpha 2011-11-07
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 zzu_sun 的回复:]

web.xml里面配置的问题
[/Quote]

请问应该怎么配置?是什么原因照成的?
zzu_sun 2011-11-05
  • 打赏
  • 举报
回复
web.xml里面配置的问题
YetAlpha 2011-11-05
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 wlianghe00 的回复:]

一个是重启关闭的时候跳出来的吧,不影响启动,就是说启动不会报错
[/Quote]

貌似不是的 是第二次发布时 弹出来的,是不是数据库有问题?

2011-11-5 17:50:39 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/tp]
2011-11-5 17:50:39 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/tp] 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.
2011-11-5 17:50:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/tp] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2011-11-5 17:50:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/tp] appears to have started a
Utopia 2011-11-05
  • 打赏
  • 举报
回复
一个是重启关闭的时候跳出来的吧,不影响启动,就是说启动不会报错

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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