RE: How many sessions are open?

2000-11-14 Thread Lacerda, Wellington (AFIS)

On the Servlet API javadocs.

Wellington Silva
UN/FAO

-Original Message-
From: Till Gartner [mailto:[EMAIL PROTECTED]]
Sent: 14 November 2000 11:11
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: AW: How many sessions are open?


Sounds interesting. Unfortunately I missed the thread about
HttpSessionBindingListener. Any tip where to find some info about it?

-- Till.

-Ursprüngliche Nachricht-
Von: Samuel Yuen [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 9. November 2000 15:21
An: [EMAIL PROTECTED]
Betreff: Re: How many sessions are open?



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.



RE: How many sessions are open?

2000-11-09 Thread David Oxley

...But that requires a code change so won't help you much!!

-Original Message-
From: Samuel Yuen [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2000 14:21
To: [EMAIL PROTECTED]
Subject: Re: How many sessions are open?



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.



Re: How many sessions are open?

2000-11-09 Thread Samuel Yuen


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.