tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Yuen <>
Subject Re: How many sessions are open?
Date Thu, 09 Nov 2000 14:21:04 GMT


as you must seen, there was some discussion about how to detect the closing of
a session lately. You can follow the same idea and create a static object that
implements HttpSessionBindingListener and add this same object to all the
sessions that are created. It can have a internal variable which stores the
number of sessions open.


Till Gartner wrote:

> Hi List,
> we're heavily using Tomcat for our new service (check out
> for a nice webapp).
> As we went live monday morning (at 1:30 am - uff), we still have some bugs.
> We
> analyzed them & fixed them in the code. Now we'd like to "roll them out" in
> our live system. Unfortunately we don't know wether we can shut it down for
> this one minute task of copying the fixes JSPs and classes and restarting
> the tomcat engine.
> Is there a way to find out how many sessions are open?
> Thanx for the help,
> -- Till.

View raw message