Is there a way in Tomcat 8 to set the HTTP 503 response on a port for maintenance purposes?
What I am trying to do is to notify a load balancer that Tomcat is under maintenance and after the work on the application inside Tomcat is completed set the HTTP response back to 200.
Thanks