Tomcat randomly shuts down with an AbstractProtocol pause after mild usage

前端 未结 4 1917
梦如初夏
梦如初夏 2020-12-28 16:19

After running my webapp for a while (timing varies between hours and days depending on traffic) Tomcat seemingly randomly shuts itself down. There\'s nothing out of the ordi

4条回答
  •  猫巷女王i
    2020-12-28 17:02

    If you are working on production box or want a quick/temporary fix then you might want to set your shutdown port in server.xml to "-1", which will disable the shutdown command. This will not let other apps, which might be having the same shutdown port, send a shutdown signal to your tomcat instance. But with this setting you will have to kill you tomcat instead of shutting it down. That's the bad part.

提交回复
热议问题