I never modified/extended the Tomcat
code, so I doubt it. Could it be that I'm allocating too much heap
memory (-Xmx20000M), so that Tomcat doesn't feel the urgency to
clean up?
Is is possible that you have a broken HttpSessionBindingListener or HttpSessionListener that is preventing Tomcat from actually performing the expirations? On 10/9/12 12:27 PM, Christopher Schultz wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1Kirill, On 10/9/12 12:22 PM, Kirill Kireyev wrote:I think I figured it out. It seems /manager/text/expire only lists the expiration info, instead of expiring sessions. Also, wget wasn't authenticating me properly. Instead I used curl against the html interface: curl --anyauth -u xxx:yyy --data "idle=20" -d path=/zzz http://localhost:8080/manager/html/expire Though I'm still not sure why my sessions aren't expiring automatically...Is is possible that you have a broken HttpSessionBindingListener or HttpSessionListener that is preventing Tomcat from actually performing the expirations? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB0bKEACgkQ9CaO5/Lv0PBSbwCgrat4Bz5jDdnh5FoAIRRu+AhE 258An2f0l4NOJ3vd8ch1e+/26zQP1MF3 =1MMn -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --
Kirill Kireyev, PhD Founder/CTO instaGrok.com kir...@instagrok.com Twitter: @instaGrok FB: facebook.com/instagrok ![]() |
- how to programmatically expire inactive sessions? Kirill Kireyev
- Re: how to programmatically expire inactive sessi... Kirill Kireyev
- Re: how to programmatically expire inactive s... Christopher Schultz
- Re: how to programmatically expire inacti... Kirill Kireyev
- Re: how to programmatically expire in... Christopher Schultz
- Re: how to programmatically expi... Shanti Suresh
- Re: how to programmatically ... Kirill Kireyev
- Re: how to programmatica... Mark Thomas
- Re: how to programmatica... Kirill Kireyev
- Re: how to programmatica... Mark Thomas
- Re: how to programmatica... Shanti Suresh
- Re: how to programmatica... Christopher Schultz
- Re: [OT] how to programm... André Warnier