1) Do you have cookies turned off completely on all of your contexts? That means that you should be seeing ;jsessionid= in any of your URLs unless they are just hard coded html urls, right? In other words, if you use response.encodeURL() for links, you should have the jsessionid added to the URL.
Are you doing nothing with sessions? session.getAttribute(), or setAttribute() ?
You couldn't truly be doing anything with them if you really have cookies turned off.
If you do have no session cookie, then either you have jsessionid in all of your request URLs, or else you are creating a new session on every request... you could try System.out.println(session.getId()) to see if you are getting a new session everytime or reusing an old one.
2) Are there other apps at your domain that might be setting cookies in the root path, and tomcat just happens to be trying to load them?
Daniel Gibby
Patrick Willart wrote:
Too bad you didn't get a reply on this. My log file is full with similar messages and had hoped to learn what was causing them.
Anyone?
Patrick
-----Original Message----- From: Evgeny Gesin [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 1:49 PM To: Tomcat Users List Subject: Bad Cookie Name when NOT using cookies?
I not remember, if I asked this before, but it happened again.
I DON'T USE cookies in my application. But sometimes I see the following error messages in catalina log files. Can you comment and how to solve that?
Evgeny Javadesk
2004-05-09 23:57:53 CoyoteAdapter Bad Cookie Name: Path /Value: /myapplName java.lang.IllegalArgumentException: Cookie name Path is a reserved token at javax.servlet.http.Cookie.<init>(Cookie.java:185) at org.apache.coyote.tomcat4.CoyoteAdapter.parseCookies(CoyoteAdapter.java:413) at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java: 304) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:683) at java.lang.Thread.run(Thread.java:534)
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
