We have an environment with a couple of load-balanced Tomcats fronted by httpd. If someone accesses the manager application through the load-balancer, they will not know which of the load-balanced Tomcats they end up at. In these situations, and others as well, it would be nice if the manager could tell the hostname and IP address of the machine it is running on.
Created attachment 20908 [details] Patch tha implements this functionality This patch implements the functionality described in this issue. It was created against the current trunk of /repos/asf/tomcat/container/tc5.5.x The patch does not add the new properties in the non-English resource bundles. I was not sure if I should add them or not.
The version for this issue should be 5.5.25, but that version is not yet available here in Bugzilla.
I would have thought you would want some control over which manager instance you hit in most cases. We usually make the manager app directly accessible to admins via an alternative port.
Yes, for actually managing the web applications (starting and stopping etc.), you want to be sure which server you are using. For such tasks we use dedicated ports. However, for the server status information it is interesting to see which machine is answering the current request.
Set the correct "Version".
It took rather a long time but this has been applied to 7.0.x and will be included in 7.0.17 onwards. I don't see this being back-ported to 6.0.x or 5.5.x.