• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Force Tomcat to forget all sessions

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i've been fiddling around with the max session length in the web.xml of my app.
Right when the duration was REAL long ( i won't tell you howwwww long ) some misguided souls opened about 15 session.
I reduced the duration, restarted tomcat but these session keep sticking to my so(u)l(e).
They should have expired hours ago, on every restart they appear again.
Is there a way to FORCE the termination of ALL sessions and - where does tomcat store this stuff between reloads?
Thank you,
Jeffrey [[sitting and waiting]...]
 
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Either use the manager app to stop that context, or just shut down the server. Then navigate to %tomcat home%/work/.../contextName and delete the SESSIONS.ser file.
(my ... is Standalone/localhost)
 
Jeffrey Spaulding
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you
that did the trick.
Off for the bar now...
Bye
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic