• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Tomcat stops invalidating sessions after session expiry.

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic