Re: Sessions not releasing for apache-tomcat 5.5.23

2008-12-29 Thread Christopher Schultz
-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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Sessions not releasing for apache-tomcat 5.5.23

2008-12-21 Thread Kees Jan Koster

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/
kjkos...@kjkoster.org
06-51838192

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



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