You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Powers <jp...@configureone.com> on 2006/04/03 22:45:47 UTC
list hosts under tomcat
/manager/list
Give you a list of the contexts in the current virtual host inside
tomcat. Is there a way to get a list (preferably xml) of the hosts
defined in tomcat? I have a servlet in each host that I want to call
and aggregate the info, but I need a list of the hosts so I can know who
to call for that servlet.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: list hosts under tomcat
Posted by Tim Lucia <ti...@yahoo.com>.
http://localhost:8080/manager/status/all will give you pretty much all
available information on the tomcat you ask about. It's in HTML.
http://localhost:8080/manager/status?XML=true - doesn't show the hosts, as
far as I can tell.
-----Original Message-----
From: John Powers [mailto:jpowers@configureone.com]
Sent: Monday, April 03, 2006 4:46 PM
To: Tomcat Users List
Subject: list hosts under tomcat
/manager/list
Give you a list of the contexts in the current virtual host inside tomcat.
Is there a way to get a list (preferably xml) of the hosts
defined in tomcat? I have a servlet in each host that I want to call
and aggregate the info, but I need a list of the hosts so I can know who to
call for that servlet.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org