You're right!  I spoke too soon.  It seems that removing the the colon :
from the cookie names has fixed my problem. So the short answer to my
original question is that in Jetty 8 colon : is disallowed in cookie names,
which seems to be a change from Jetty 7.

Thanks to everyone for your help!

Lou.

On Tue, Jan 19, 2016 at 6:07 PM, Bill Ross <[email protected]> wrote:

> Looks like that isn't the actual error, it's the error eclipse generates
> because it lacks the source to generate the actual error.
>
> Bill
>
>
> On 1/19/16 3:04 PM, Lou DeGenaro wrote:
>
> I am my Jetty server under eclipse so I can debug.
>
> Lou.
>
> On Tue, Jan 19, 2016 at 5:54 PM, Joakim Erdfelt <[email protected]>
> wrote:
>
>> "org.eclipse.core.runtime.CoreException" is not part of Jetty.
>> What are you doing?
>>
>> Joakim Erdfelt / [email protected]
>>
>> On Tue, Jan 19, 2016 at 2:52 PM, Lou DeGenaro < <[email protected]>
>> [email protected]> wrote:
>>
>>> I tried changing ducc: to DUCC like this:
>>>
>>> [[Host=192.168.6.67:42133], [User-Agent=Mozilla/5.0 (X11; Linux x86_64;
>>> rv:38.0) Gecko/20100101 Firefox/38.0],
>>> [Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8],
>>> [Accept-Language=en-US,en;q=0.5], [Accept-Encoding=gzip, deflate],
>>> [Cookie=JSESSIONID=16cf2jfvlj24hv0pxjnd3phor; DUCCrefreshmode=automatic;
>>> DUCCjobsmax=16; DUCCjobsusers=; DUCCagents=hide], [Connection=keep-alive]]
>>>
>>> and there seems to be no improvement.
>>>
>>> In CookieCutter.getCookies() I see the value for _cookies =
>>> org.eclipse.core.runtime.CoreException: Source lookup error
>>>
>>> Lou.
>>>
>>>
>>>
>>> On Tue, Jan 19, 2016 at 3:52 PM, Joakim Erdfelt <[email protected]>
>>> wrote:
>>>
>>>> You have badly defined cookies.
>>>>
>>>> Starting here ...
>>>> https://tools.ietf.org/html/rfc6265#section-4.2
>>>>
>>>> The request "Cookie" header is defined to have the values ..
>>>>
>>>>    cookie-header = "Cookie:" OWS cookie-string OWS
>>>>    cookie-string = cookie-pair *( ";" SP cookie-pair )
>>>>
>>>>
>>>> Next we look at
>>>> https://tools.ietf.org/html/rfc6265#section-4.1.1
>>>>
>>>> which defines cookie-pair as
>>>>
>>>>  cookie-pair       = cookie-name "=" cookie-value
>>>>  cookie-name       = token
>>>>  cookie-value      = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )
>>>>  cookie-octet      = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
>>>>                        ; US-ASCII characters excluding CTLs,
>>>>                        ; whitespace DQUOTE, comma, semicolon,
>>>>                        ; and backslash
>>>>  token             = <token, defined in [RFC2616], Section 2.2 
>>>> <https://tools.ietf.org/html/rfc2616#section-2.2>>
>>>>
>>>>
>>>> Now we take a look at
>>>> https://tools.ietf.org/html/rfc2616#section-2.2
>>>>
>>>> which defines token as
>>>>
>>>>        token          = 1*<any CHAR except CTLs or separators>
>>>>        separators     = "(" | ")" | "<" | ">" | "@"
>>>>                       | "," | ";" | ":" | "\" | <">
>>>>                       | "/" | "[" | "]" | "?" | "="
>>>>                       | "{" | "}" | SP | HT
>>>>
>>>>
>>>> Which tells us that the cookie-name you are using with the ":" symbol
>>>> is not allowed per spec.
>>>> The cookie-names "ducc:refreshmode", "ducc:agents", "ducc:jobsmax",
>>>> "ducc:jobsusers" are all invalid.
>>>>
>>>>
>>>> Joakim Erdfelt / <[email protected]>[email protected]
>>>>
>>>> On Tue, Jan 19, 2016 at 1:34 PM, Lou DeGenaro <
>>>> <[email protected]>[email protected]> wrote:
>>>>
>>>>> When I put a breakpoint @ line 254 in
>>>>> org.eclipse.jetty.server.AbstractHttpConnection.getResuestFields() the
>>>>> _fileds value is:
>>>>>
>>>>> [[Host=192.168.6.67:42133], [User-Agent=Mozilla/5.0 (X11; Linux
>>>>> x86_64; rv:38.0) Gecko/20100101 Firefox/38.0],
>>>>> [Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8],
>>>>> [Accept-Language=en-US,en;q=0.5], [Accept-Encoding=gzip, deflate], 
>>>>> [Referer=
>>>>> <http://192.168.6.67:42133/jobs.jsp>http://192.168.6.67:42133/jobs.jsp],
>>>>> [Cookie=ducc:refreshmode=automatic; ducc:agents=show;
>>>>> JSESSIONID=yimag13sezeb18azc3oaoppe3; ducc:jobsmax=16; ducc:jobsusers=],
>>>>> [Connection=keep-alive]]
>>>>>
>>>>> Is there something wrong with the Cookie format which previously
>>>>> worked in Jetty 7 but does not seem to work in Jetty 8?
>>>>>
>>>>> Lou.
>>>>>
>>>>> On Sun, Jan 17, 2016 at 7:29 AM, Lou DeGenaro <
>>>>> <[email protected]>[email protected]> wrote:
>>>>>
>>>>>> We are attempting to upgrade from 7.4.4 to 8.1.16 and find that
>>>>>> although the browser shows cookies, on the server side
>>>>>> HttpServletRequest getCookies() does not find them.  What's changed?
>>>>>>
>>>>>> Lou.
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> jetty-users mailing list
>>>>> [email protected]
>>>>> To change your delivery options, retrieve your password, or
>>>>> unsubscribe from this list, visit
>>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> jetty-users mailing list
>>>> [email protected]
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
>
> _______________________________________________
> jetty-users mailing [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visithttps://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to