-
Notifications
You must be signed in to change notification settings - Fork 26.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老的项目组中是用war包的形式运行的应用,如何实现优雅停机 #732
Comments
tomcat部署,目前这样操作是可行的。 |
我目前使用 http请求 调用ProtocolConfig.destroyAll();
缺点:必须重启容器才能 发布服务 手动暴露服务
|
Related issue: #1665 |
This has been fixed from 2.6.3 onwards. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
老的项目组中是用war包的形式运行的应用,改造成jar包的方式有很大的风险,能在不改变原来tomcat部署的方式上实现优雅停机吗?有好的解决方案吗?实现ServletContextListener,并重写contextDestroyed方法再调用ProtocolConfig.destroyAll();不知道是否可行?
The text was updated successfully, but these errors were encountered: