首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Tomcat+Wicket:停止tomcat时出现大量ThreadContext警告

Tomcat+Wicket:停止tomcat时出现大量ThreadContext警告
EN

Stack Overflow用户
提问于 2015-07-06 18:14:26
回答 1查看 87关注 0票数 0

当停止Tomcat运行我们的基于Wicket-6.19的网站时,大量的警告淹没了我们的日志文件:

代码语言:javascript
复制
INFO: Stopping service Catalina
Jul 06, 2015 8:10:22 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.
...
Jul 06, 2015 8:10:22 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@581d6d]) and a value of type [org.apache.wicket.ThreadContext] (value [org.apache.wicket.ThreadContext@f40228]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
...

这是我应该关心的问题吗?这会是我们如何使用Wicket的问题吗?

EN

回答 1

Stack Overflow用户

发布于 2015-07-07 05:01:10

你应该做一个线程转储,并检查这些阻塞的请求在做什么。

我怀疑是Wicket导致这些线程挂起。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31243195

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档