users@glassfish.java.net

Re: Glassfish Websockets

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Fri, 10 Feb 2012 07:28:20 -0800

Please ensure you've enabled websocket support on the listener you're
connecting to.

Using http-listener-1 as an example:

asadmin set
configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.websockets-support-enabled=true

On 2/10/12 6:05 AM, forums_at_java.net wrote:
>
>
> I tried to implement websockets on glassfish3.1.2-beta-21 but failed.
>
> The problem is I am able to connect to the server but unable to send the
> message.
>
> Can any one help to know why this problem is coming.
>
> I also caputre header info. and it is as follows
>
> For firefox(10) browser is using Sec-WebSocket-Version: 8
>
> but for chrome(18) it is using Sec-WebSocket-Version: 13
>
>
>
>
> --
>
> [Message sent by forum member 'rkmurthy']
>
> View Post: http://forums.java.net/node/883427
>
>