Hi,

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.

Samuel


Till Gartner wrote:

> Hi List,
>
> we're heavily using Tomcat for our new service (check out
> http://www.cardxchange.net 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.

Reply via email to