Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: list hosts under tomcat

Tim Lucia

2006-04-03

Replies:

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@(protected)]
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@(protected)
For additional commands, e-mail: users-help@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.