停止Tomcat时出现的错误,各位高手帮帮吧

bobo0706 2011-07-08 12:16:47
严重: Error listenerStart
2011-7-8 11:59:19 org.apache.catalina.core.StandardContext start
严重: Context [/MyProject] startup failed due to previous errors
2011-7-8 11:59:19 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/MyProject] registered the JDBC 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.
2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/MyProject] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/MyProject] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/MyProject] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/MyProject] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
...全文
600 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
Fly_m 2011-07-12
  • 打赏
  • 举报
回复
这种错误不用管它,你能正常的停止tomcat就OK了。
呆饿猪 2011-07-12
  • 打赏
  • 举报
回复
严重: The web application [/MyProject] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.

请参见:

http://stackoverflow.com/questions/5495483/error-when-starting-stopping-tomcat-6-0-29
说是c3p的问题
呆饿猪 2011-07-12
  • 打赏
  • 举报
回复
严重: The web application [/MyProject] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.

请看:http://stackoverflow.com/questions/5495483/error-when-starting-stopping-tomcat-6-0-29
跟你的问题相似,可以参考,就是说c3p连接池的bug
呆饿猪 2011-07-12
  • 打赏
  • 举报
回复
严重: The web application [/MyProject] registered the JDBC 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.


这个错误官方的解释是可以忽略,或者换tomcat5,请参见:
http://stackoverflow.com/questions/3320400/jdbc-driver-unregisted-when-the-web-application-stops

严重: The web application [/MyProject] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.

这个错误我也有,我也找了好久都没有答案,估计可能是引用的jar包有bug
liuc0317 2011-07-12
  • 打赏
  • 举报
回复
是不是没有启动配置。
<!-- 监听器 -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- 加载applicationContext*.xml 配置 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext-*.xml</param-value>
</context-param>
javaee_ssh 2011-07-12
  • 打赏
  • 举报
回复
详细的去logs 下看看当天的日志

67,513

社区成员

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

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