Keywords: Tomcat - Amazon Web Services - Technical issue - Other
We are running your apache-tomcat-sql (tomcat v8) configuration bundle on AWS. Everything works just fine, thanks for a great product. The one issue we are having for some time is that tomcat shuts down automatically at 5 AM EST every day. It was not a big deal before as our heartbeat script would just restart tomcat, but as our application matures it is become more of an issue as it is taking longer to restart tomcat due to some additional application startup logic we have introduced. Can you please help us to resolve this behavior? Who sends the shutdown request to port 8005? Is it expected? How can we prevent it?
This is what we see in the logs (catalina.out):
02-Feb-2018 05:00:06.796 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
02-Feb-2018 05:00:06.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-8080"]
02-Feb-2018 05:00:06.848 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-apr-8009"]