• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Session timeout - Apache overriding Tomcat?

 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The session timeout we have set for our application in Tomcat is 90 minutes, however session times out very quickly. When I did dig deeper, I found that Apache's timeout is 300 sec (5 mins) and I think the session timeout I experienced was similar.

I use Tomcat as my standalone server on my local machine and 90 mins timeout works fine on it. However, the live server we have uses Tomcat as plug-in and Apache as web-server -- only Java code is served by Tomcat, static files are served by Apache. I thought (or I have read before?), the Tomcat session timeout (configured in context's web.xml) will override the Apache default session timeout, but it doesn't see so - what could be the reason? Do I need to change Apache's session timeout as well?

Any pointers, help would be highly appreciated!
 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not change the timeout for Apache and check it out??

You may have to do decision making if Apache on live-server would be good or on configuring one on local, because i understand as per process developer can not access live-server.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not have access to apache configuration to check this out.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic