简体   繁体   English

Spring Retry不允许停止TC服务器

[英]Spring Retry is not allowing to stop the TC server Normally

I am using spring retry template, when there is retry process is running, I am not able to stop the server. 我正在使用spring retry模板,当正在运行重试进程时,我无法停止服务器。 If I am trying to stop the server, It is saying tc server is not responding, would you like to terminate the server. 如果我试图停止服务器,那是说tc服务器没有响应,您想终止该服务器。

I followed the following way, but unfortunately the same result. 我遵循以下方法,但不幸的是结果相同。

How can I shutdown Spring task executor/scheduler pools before all other beans in the web app are destroyed? 如何在销毁Web应用程序中的所有其他bean之前关闭Spring任务执行程序/调度程序池?

Thanks in Advance 提前致谢

您需要调用shutdownNow()来中断所有等待的(可中断的)线程。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 JMX/Hyperic 代理在 tc 服务器中启动/停止应用程序 - Start/stop application in tc server using JMX/Hyperic agent 将Spring应用程序部署在带有Insight的tc服务器中时,Spring应用程序在启动时失败,并显示NoClassDefFoundError - Spring application fails on startup with NoClassDefFoundError when deployed in tc Server with Insight 在vmware vfabric tc服务器中部署maven / spring应用程序的异常 - exception deploying maven/spring app in vmware vfabric tc server Spring MVC,Maven,Pivotal tc Server HTML 404未找到错误 - Spring MVC, Maven, Pivotal tc Server HTML 404 Not Found error POST curl请求在Spring tc服务器上返回语法错误 - POST curl request returns syantactic error on Spring tc server Pivotal TC Server已启动,但使用Spring构建的网站未加载(之前) - Pivotal TC Server starting, but website built using Spring not loading (was before) Spring Boot EurekaClient应用程序无法在外部TC服务器中运行 - Spring Boot EurekaClient application is not working in external TC server 更换tc服务器中的jar - Replacing jars in tc server Spring Boot MVC应用程序在部署到外部Tomcat / tc Server实例时返回HTTP 404 - Spring Boot MVC Application returns HTTP 404 when deployed to an external Tomcat/tc Server instance Spring Web MVC应用程序未在Pivotal tc Server Developer Edition v3.2上运行 - spring web mvc application not running on Pivotal tc Server Developer Edition v3.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM