You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mitchell Teixeira <te...@yahoo.com> on 2005/07/11 16:16:07 UTC

parseCookies error situation: Tomcat 5.0.19 Win32

Hello Tomcat Users List - first my apologies in case this situation is
already documented.  Extensive searches turned up little useful
information about this situation.  I am using Tomcat 5.0.19 on
Windows2000.  I've found this Tomcat to be very stable.

Today I found my Tomcat server unresponsive and the following message in
the log:

Jul 7,2005 5:38:18PM org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
SEVERE: Bad Cookie Name: Expires /Value: Sun
java.lang.IllegalArgumentException: Cookie name "Expires" is a reserved
token 
   at  javax.servlet.http.Cookie.<init><Cookie.java:185>
   .
   .<snip>
   .

Another similar error was just after:
Jul 7,2005 5:38:18PM org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
SEVERE: Bad Cookie Name: Domain /Value: .firststreetonline.com
java.lang.IllegalArgumentException: Cookie name "Domain" is a reserved
token 
   at  javax.servlet.http.Cookie.<init><Cookie.java:185>
   .
   .<snip>
   .

Are these signs someone is accessing my site with corrupted cookies? 

How to supress or better handle this situation? (Hopefully besides Tomcat
upgrade!)

Any help graciously appreciated - 
MitchellT


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org