A couple of weeks ago I downloaded the Grizzly 2.0 jars and tried out
the websocket sample. Everything worked as expected.
Now I downloaded the Grizzly 2.1 (which should support the 06 websocket
draft) and tried the websocket
"org.glassfish.grizzly.samples.websockets". The problem is now I cannot
get it to work with the same JavaScript client anymore. I've tried it
with Chrome, Firefox 4 and the latest Chromium build but it doesn't
work.
I can see that I hit a breakpoint in the
"isApplicationRequest()"-method on the server side when the Websocket
is created on client side but after that the websocket does not open
and when I try to send a message with "Websocket.send()" I get a
"INVALID_STATE_ERR: DOM Exception 11" when using Chrome.
Can anyone say what's wrong based on this information?
Thanks for help!