tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Thomas <pstho...@gmail.com>
Subject Re: Using Catalina API
Date Tue, 14 Jun 2005 23:52:03 GMT
Hi Charl,

Dunno about a method call that you'd be able to make, but this may get
you half way there:

http://localhost:8080/manager/list

Straight text response, easy to parse. Now, the catch is, you'll need
to be authenticated on the server. Ant has some tools that you may be
able to make use of:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant

Cheers,
PST

On 6/14/05, Charl Gerber <charlgerber@yahoo.com> wrote:
> How can you determine all the loaded webapps and
> active sessions across all webapps using the Catalina
> (or other Tomcat) API? The Javadoc does not seem to
> provide a sort of utility class with static methods to
> get this info.
> 
> Thanks
> 
> Charl
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message