You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sudip pattanayak <ge...@yahoo.co.in> on 2008/12/19 08:16:03 UTC

Sessions not releasing for apache-tomcat 5.5.23

Hi,

We are using apache-tomcat for our Web Application.
We do not allow to same users to log on from two instances of the application.
So
if the user is active from one session and then if he tries to log on
from another session, we forcefully logoff the user from the previous
session.

But recently there are couple of occasions where one or
more users are failing to forcefully logoff the session.(thelogs shows
clearly the pending sessions keeps on increasing and the value unbound
is never called for the particular user failing to forcefully logoff.

If anybody has any suggestions on this it would be great.

Regards,
Sudip
BMC Software


      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Re: Sessions not releasing for apache-tomcat 5.5.23

Posted by Kees Jan Koster <kj...@gmail.com>.
Dear Sudip,

> But recently there are couple of occasions where one or
> more users are failing to forcefully logoff the session.(thelogs shows
> clearly the pending sessions keeps on increasing and the value unbound
> is never called for the particular user failing to forcefully logoff.

Well, we cannot look into your code, so there really is nothing that  
we can help you with. I would say that you should write a few unit  
tests with httpunit and use those to reproduce the situation you try  
to solve. Then test and debug from there.

Unless you think this is due to some kind of bug in Tomcat, in which  
case we need a test case that reproduces this problem.
--
Kees Jan

http://java-monitor.com/forum/
kjkoster@kjkoster.org
06-51838192

The secret of success lies in the stability of the goal. -- Benjamin  
Disraeli


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


Re: Sessions not releasing for apache-tomcat 5.5.23

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sudip,

sudip pattanayak wrote:
> We are using apache-tomcat for our Web Application. We do not allow
> to same users to log on from two instances of the application.
> So if the user is active from one session and then if he tries to log
> on from another session, we forcefully logoff the user from the
> previous session.
> 
> But recently there are couple of occasions where one or
> more users are failing to forcefully logoff the session.(thelogs shows
> clearly the pending sessions keeps on increasing and the value unbound
> is never called for the particular user failing to forcefully logoff.

Do you mean that your users /can/ login multiple times concurrently? Or,
do you mean that your sessions are never expiring / getting garbage
collected?

How are you enforcing your single-login requirement? How are you
checking the session counts?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklZNhQACgkQ9CaO5/Lv0PDVhACfQFIWXe6KBfjvVaxFh0DyHqFe
xk0An2F7gu2PoGCk9PoE8MOBq7jPYytR
=S6lm
-----END PGP SIGNATURE-----

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