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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to