[ 
https://issues.apache.org/jira/browse/TAP5-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766509#action_12766509
 ] 

Andreas Fink commented on TAP5-785:
-----------------------------------

The reason is the json-data in the cookie-value which contains "unwanted" 
characters (quotes, white space).
see: 
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/Cookie.html

It might be that other implementations of the servlet-api than Jetty do not 
complain here.

> Logfiles contain many warnings that something is wrong with Blackbird cookies
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-785
>                 URL: https://issues.apache.org/jira/browse/TAP5-785
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Andy Pahne
>
> Environment: 
> - Tapestry 5.1.0.5, 
> - running in maven jetty plugin
> 2009-07-16 10:42:03.629::INFO:  Started [email protected]:7080
> [INFO] Started Jetty Server
> 2009-07-16 10:43:47.385::WARN:  java.lang.IllegalArgumentException: Cookie 
> name ""size": 0" is a reserved token
> 2009-07-16 10:43:47.401::WARN:  java.lang.IllegalArgumentException: Cookie 
> name ""load": null}" is a reserved token
> 2009-07-16 10:43:47.401::WARN:  java.lang.IllegalArgumentException: Cookie 
> name ""size": 0" is a reserved token
> 2009-07-16 10:43:47.401::WARN:  java.lang.IllegalArgumentException: Cookie 
> name ""load": null}" is a reserved token
> 2009-07-16 10:43:49.510::WARN:  java.lang.IllegalArgumentException: Cookie 
> name ""size": 0" is a reserved token
> 2009-07-16 10:43:49.510::WARN:  java.lang.IllegalArgumentException: Cookie 
> name ""load": null}" is a reserved token
> 2009-07-16 10:43:49,525  INFO (CommonsLoggingOutput.java:51) - DWR Version 
> 2.0.5 starting.
> 2009-07-16 10:43:49,525  INFO (CommonsLoggingOutput.java:51) - - Servlet 
> Engine: jetty/6.1.19
> 2009-07-16 10:43:49,525  INFO (CommonsLoggingOutput.java:51) - - Java 
> Version:   1.6.0_12
> 2009-07-16 10:43:49,525  INFO (CommonsLoggingOutput.java:51) - - Java Vendor: 
>    Sun Microsystems Inc.
> Those are the cookies set (besides JSESSIONID):
> Name    blackbird
> Val    {"pos": 1, "size": 0, "load": null}
> Host    localhost
> Path    /tb/search/
> Gültig bis    Thu, 30 Jul 2009 08:43:50 GMT
> Name    blackbird
> Val    {"pos": 1, "size": 0, "load": null}
> Host    localhost
> Path    /tb/
> Gültig bis    Thu, 16 Jul 2009 11:26:09 GMT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to