tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Neumeier" <>
Subject RE: mod_jk2 + Tomcat 4.1.24 - no sessions?
Date Mon, 21 Jul 2003 18:19:27 GMT
Mark Palmer wrote:
> I guessed as much. The thing is, I can see that the browser 
> is just never 
> getting the JSESSIONID cookies when accessing via Apache.
> If you access directly to Tomcat the JSESSIONID cookies come 
> no problem.
> I just don't get it - this implies that mod_jk2 is stripping 
> off the cookie 
> response headers, or tomcat is not producing them through the 
> jk connector.

I've seen something similar some time ago -- the behavior then was that if multiple cookies
were being set in the server, only one cookie was actually getting sent in the HTTP response.
 This was reported as bug 12699 and fixed; maybe there has been a regression.  Look at the
bug at:

and see if maybe it's the same situation.

Have you tried reproducing the HTTP conversation using telnet?  That way you can see exactly
what's going on...

telnet 80
Connected to
Escape character is '^]'.
GET /your/servlet/url?with=parameters HTTP/1.1
Connection: close

<------server response will show up here----->

The cookies being sent from the server will be in Set-Cookie headers.  There will be multiple
Set-Cookie headers, one per cookie that is sent from the server.  If this is the same issue
as 12699, only the last Set-Cookie header will actually be returned through mod_jk2.



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

View raw message