• 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

Tomcat looosing session

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 addition,
the call to getRequestedSessionId() returns the same value and matches that of the JSESSIONID
(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 proxy
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.

HELP!

Thanks in advance!

 
You’ll find me in my office. I’ll probably be drinking. And reading this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic