You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Fink (JIRA)" <ji...@apache.org> on 2009/11/10 17:39:28 UTC

[jira] Issue Comment Edited: (TAP5-785) Logfiles contain many warnings that something is wrong with Blackbird cookies

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

Andreas Fink edited comment on TAP5-785 at 11/10/09 4:39 PM:
-------------------------------------------------------------

In the RFC http://www.w3.org/Protocols/rfc2109/rfc2109 - "10.1.3 Punctuation" - it says the value (json-data) can be quoted to allow whitespace and waht not.
I patched tapestries' (5.1.0.5) blackbird.js and configured the patched version like described in http://tapestryjava.blogspot.com/2009/10/tapestry-51-and-ie-8-customizing.html ... it works!
See attachment "blackbird.js.patch".


      was (Author: alma):
    In the RFC http://www.w3.org/Protocols/rfc2109/rfc2109 - "10.1.3 Punctuation" - it says the value (json-data) can be quoted to allow whitespace and waht not.
I patched tapestries' (5.1.0.5) blackbird.js and configured the patched version like described in http://tapestryjava.blogspot.com/2009/10/tapestry-51-and-ie-8-customizing.html ... it works!
See attached patch.

  
> 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
>         Attachments: blackbird.js.patch
>
>
> Environment: 
> - Tapestry 5.1.0.5, 
> - running in maven jetty plugin
> 2009-07-16 10:42:03.629::INFO:  Started SelectChannelConnector@0.0.0.0: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.