dev@grizzly.java.net

Re: Problem with WebSockets using Grizzly in latest Glassfish 3.1 and Chromium

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Tue, 15 Jun 2010 10:26:21 -0400

I'm working that now. So far the samples still work for me and I've
tried several browsers on 2 different OSes. There *are* issues but they
don't prevent the samples from working in general. I haven't seen the
new spec rev in the wild yet so there shouldn't be any browser issues
just yet. I'm working on cleaning up those other issues, though.

On 6/15/10 10:12 AM, Tako Schotanus wrote:
> Hi,
>
> any news on the status of this issue?
> I tried finding the issue in the bug database but without success.
>
> Cheers,
> -Tako
>
>
> On Tue, Jun 8, 2010 at 01:43, Justin Lee<justin.d.lee_at_oracle.com> wrote:
>
>
>> I saw that blog a few days ago and was wondering about that. I didn't
>> expect chrome to update so quickly. I'll file an issue against grizzly,
>> though, so I can get it on my docket to fix.
>>
>>
>> On 6/7/10 6:44 PM, Tako Schotanus wrote:
>>
>>
>>> Aha, I just found this on the chromium blog:
>>>
>>> http://blog.chromium.org/2010/06/websocket-protocol-updated.html
>>>
>>> Could possibly be related because I just found out that the things that
>>> worked before (those that I mentioned before) have all suddenly stopped
>>> working as well. Probably a browser update snuck me by without noticing.
>>>
>>> -Tako
>>>
>>>
>>> On Mon, Jun 7, 2010 at 22:28, Tako Schotanus<tako_at_codejive.org> wrote:
>>>
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> I mentioned this already on Justin Lee's blog (
>>>> http://www.antwerkz.com/glassfish-web-sockets-sample) but I haven't been
>>>> able to get the websocket chat sample to work with the latest Glassfish
>>>> 3.1
>>>> (downloaded June 2nd).
>>>>
>>>> First I tried to just re-create the needed files from the information on
>>>> his blog and when that didn't work out I just downloaded the latest
>>>> grizzly
>>>> and built the entire thing copying the websocket chat sample WAR to the
>>>> Glassfish autodeploy folder. Although much better looking than the
>>>> version I
>>>> threw together the result stayed the same. A strange error from Chromium
>>>> about needing a helper application (see attached image).
>>>>
>>>> It's not a problem with Chromium as far as I can see because many of the
>>>> sample on the net function without any problem, as well as samples that I
>>>> have running locally using jWebsocket and Jetty.
>>>>
>>>> Cheers,
>>>> -Tako
>>>>
>>>> PS: Just curious, but the Websocket implementation that Jetty uses (a
>>>> WebSocket is a subclass of HttpServlet) seems conceptually a bit simpler
>>>> than the way it's done in Glassfish (using both a WebSocket and a
>>>> WebSocketApplication). Any particular reason as to why?
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>>
>>
>