I am wondering what would be returned by tomcat during redeployment, if the process takes long time.
I need the http status code for apache mod_jk's fail_on_status value.
Tomcat will return HTTP 404 while redeploying.
But i suggest to restart Tomcat, because many applications has ClassLoader leak and after some hot redeploys Tomcat get PermGenSpace exception.