【发布时间】:2016-05-11 01:07:17
【问题描述】:
我在 linux 服务器上使用 tomcat8 和 jdk1.8 运行 Web 应用程序。
当我关闭 tomcat 时,我收到以下警告消息:
WARNING [main] org.apache.tomcat.util.net.AbstractEndpoint.shutdownExecutor The executor associated with thread pool [http-apr-8080] has not fully shutdown. Some application threads may still be running
注意:我只在关闭 tomcat 时收到此警告,而不是在我取消部署应用程序时收到此警告。
我如何“修复”此警告以使该消息不会出现。 我在应用程序运行时使用 Jstack 进行线程转储,我看到几个 http-apr-8080-exec 线程。
谢谢
【问题讨论】:
标签: java tomcat threadpool apr