Hi Konstantin, Thanks for your reply.
Yes, the getHeaders("cookie") returns what seems to be a valid set of cookies, thus we're not losing them in any of the proxies we might have set up. (Currently, we're only in development mode for tomcat 6 and we're not going through any proxies, just directly to the server.) We get this problem in all sorts of browsers (FF, Safari, IE). The thing that really bugs me is the inconsistency. It's almost as if there were a race condition going on, but the request is basically single threaded, isn't it? My only fear is some parser used in the tomcat code is being used in a non-thread safe manner, but then *everybody* would be having this problem, neh? I'm finding out about the connectors, but we may not be using any as : Jan 28, 2010 6:52:56 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /dist/sfsite/obj Hopefully, this is just in our development environments! Thanks, -George On Feb 12, 2010, at 2:32 PM, Konstantin Kolinko wrote: > 2010/2/13 George Baxter <gbax...@shutterfly.com>: >> >> Hello, >> >> We're running into an issue with tomcat 6.0.18 running on solaris. >> Occasionally a request will come through that has cookies in the header, but >> the request.getCookies() returns no cookies. > > How do you observe that? You mean that it is present in > HttpServletRequest.getHeaders("Cookie") ? > >> This causes the user to lose >> session since even the JSESSIONID cookie is not recognized, and of course >> all our custom cookies are lost. It seems to happen randomly, across our >> web site, and varies in frequency from every 2-3 requests to over 200 >> requests before it happens again. >> >> There's no change to the cookie values (or very little) between requests. >> >> In addition, this only seems to be a problem on solaris. Running on MacOSx >> or Linux and we don't see the issue. Also, we don't have the problem in >> Tomcat 5.5. > > Any other details on your configuration? > > What connectors are you using? HTTP/AJP? Nio/Bio/Apr? (usually some > org.apache.coyote.* class is mentioned in the startup log in a > "Starting Coyote .." message) Do you have Apache HTTPD in front of > Tomcat? Do you have HTTP proxies around? Are failing requests > coming from some specific client? Are they coming from some specific > browser? > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org