Apache webserver is talking to tomcat and putting him into error state, if he isn't reachable ("heartbeat") but also putting him into error state if the application has internal problems.
Problems like a database, which can't be accessable etc.
How does tomcat recognize this? How does the internal check of tomcat look like/work and what is he doing, to decide if the deployed application is OK or NOT OK and communicating this to the apache webserver, to put him out of load?
tia