tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randyf <>
Subject Tomcat loosing session
Date Mon, 04 Apr 2011 13:46:53 GMT

I have Tomcat 6 running in an environment that requires an Apache proxy
between my
browser and my Tomcat instance. My problem is that Tomcat is "loosing" the
session from my browser.
I added logging in my servlet to log out the request and session
information, including cookies.
In the logs I see where the session id is different in each servlet
invocation. However,
the value of the JSESSIONID cookie is the same in each invocation. In
the call to getRequestedSessionId() returns the same value and matches that
(though it does indicate that the requested session id is not valid).

Is this a configuration issue on my part or perhaps related to the Apache
sitting between Tomcat and the browser? In my development environment I do
not have this issue because the proxy does not exist and I connect directly
to Tomcat from my browser.


Thanks in advance! 

View this message in context:
Sent from the Tomcat - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message