You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Jackson, Stephen" <St...@NielsenMedia.com> on 2003/03/19 15:59:26 UTC

java.lang.IllegalArgumentException: 0111111English&m%2Fd%2Fyy&%2E &,&,

I am using tomcat 4.1.18 on a Linux machine.  
I seem to be having a problem with cookies.  

The object that is throwing the exception is
org.apache.coyote.tomcat4.CoyoteResponseFacade
and the stack trace is as follows:

java.lang.IllegalArgumentException: 0111111English&m%2Fd%2Fyy&%2E&,&,
at
org.apache.tomcat.util.http.ServerCookie.maybeQuote(ServerCookie.java:315)
at
org.apache.tomcat.util.http.ServerCookie.appendCookieValue(ServerCookie.java
:248)
at
org.apache.coyote.tomcat4.CoyoteResponse.addCookie(CoyoteResponse.java:864)
at
org.apache.coyote.tomcat4.CoyoteResponseFacade.addCookie(CoyoteResponseFacad
e.java:278)

I did see another reference to this on the mailing lists, however the cookie
error had a slightly different problem.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg88935.html

Any help would be greatly appreciated.

Thanks,

Stephen Jackson

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


Re: java.lang.IllegalArgumentException: 0111111English&m%2Fd%2Fyy&%2E &,&,

Posted by Tim Funk <fu...@joedog.org>.
I think your cookie has commas (other illegal characters) in it from the 
looks of the dump below.

I think 4.1.24 handles this condition a little better.

-Tim

Jackson, Stephen wrote:
> I am using tomcat 4.1.18 on a Linux machine.  
> I seem to be having a problem with cookies.  
> 
> The object that is throwing the exception is
> org.apache.coyote.tomcat4.CoyoteResponseFacade
> and the stack trace is as follows:
> 
> java.lang.IllegalArgumentException: 0111111English&m%2Fd%2Fyy&%2E&,&,
> at 


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