Hi all:

We have configured a Tomcat with two virtual hosts, one for hosting 
client-facing applications on a "vanity" name, and the other for the "machine" 
which hosts private URLs for access to admin/diagnostic functions by admins 
only.

We have an instance of Tomcat manager on the running just fine on the "machine" 
host.
Requests to "/manager/html/list" only shows applications running on the 
"machine" host, and not those running on the "vanity" host.

I understand from [0] that "If you have Tomcat configured to support multiple 
virtual hosts (websites) you would need to configure a Manager for each."

But if I request the complete server status from that same manager running on 
the "machine" host, the "Application list" heading in the output contains a 
listing of all deployed applications ordered by all configured virtual hosts.

Clearly the manager has knowledge of all configured applications regardless of 
virtual host.
Is is possible to configure a manager to just list all applications from all 
virtual hosts on the main "List Applications" screen?

My environment is Tomcat 9.0.29 with OpenJDK 1.8.0_232 on Debian Linux.

Thanks,
Jason

[0] https://tomcat.apache.org/tomcat-9.0-doc/manager-howto.html



Reply via email to