Tomcat Version 6.014 on Linux.
We have implemented HttpSessionListener in our application. In that listener we are doing some special code on sessionDestroyed(mainly closing connection with oracle database). But after some time tomcat stops calling that sessionDestroyed method of listener for all session.
When we look sessions in tomcat manager we can see couples of sessions are expired (we have 30 minute session timeout). We are able to invalidate all sessions except first expired session using tomcat manager. Even though we try multiple time to invalidate first expired (problem session) it does not invalidate. And due to that session tomcat stops invalidate other session expired after that problem session.
Can you please guide me how to kill that problem session or fix tomcat such that it invalidates all expired sessions.
Thanks for your help.
We have implemented HttpSessionListener in our application. In that listener we are doing some special code on sessionDestroyed(mainly closing connection with oracle database). But after some time tomcat stops calling that sessionDestroyed method of listener for all session.
When we look sessions in tomcat manager we can see couples of sessions are expired (we have 30 minute session timeout). We are able to invalidate all sessions except first expired session using tomcat manager. Even though we try multiple time to invalidate first expired (problem session) it does not invalidate. And due to that session tomcat stops invalidate other session expired after that problem session.
Can you please guide me how to kill that problem session or fix tomcat such that it invalidates all expired sessions.
Thanks for your help.