• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Tomcat Clustering issue -sessions created with different time out in both nodes  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having two tomcat instances in cluster mode, load-balancing enabled with Apache using mod_jk.

By default session time out is set to 30 minutes in web.xml file.

In my web application, When user logs in using SSO(Single sign-on), I've programatically set session time out to 4 hours using setMaxInactiveInterval()method of session object.

But when I check the session time out(TTL) in Tomcat manager of both tomcat, session time out for Primary session is set to 4 hour((that is what I've set programatically ) while session time out for Secondary session is set to 30 minutes.

Could somebody help me to diagnose this problem.

Thanks in advance.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!