users@glassfish.java.net

Re: GF 3.1.1 WebSocket support - cannot enable WebSockets

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Tue, 17 Jan 2012 12:32:45 -0800

On 1/17/12 10:44 AM, forums_at_java.net wrote:
> ok. my approach was this one:
>
> 1. started the server (./asadmin start-domain)
>
> 2. enable websockets (./asadmin set ...)
>
> 3. tested with my websockets client using the weberknecht websockets
>
> 4. shut down the server (./asadmin stop-domain)
>
> 5. started the server (./asadmin start-domain)
>
> 6. enable websockets (./asadmin set ...)
>
> 7. tested again
>
>
>
> so, are the enabled websockets stored in config persistent or had i to
> enable
> it at every start?
No. But any time you make a change (i.e., false to true or vice versa)
you'll need to restart
the server for the change to take effect.

You can verify that the option is enabled by searching for
websockets-support-enabled in the domain.xml of the domain in question.

That said, if you can provide a test case (client as well if possible)
and open an issue, we can investigate.
>
> or is there an extra library provided by glassfish for the client that
> i have
> to use? I used weberknecht client websocket library, because they work on
> android. Does the (possibly) glassfish-client-websocket-library support
> android?
>
> best regards
>
> hsch
>
>
> --
>
> [Message sent by forum member 'hsch']
>
> View Post: http://forums.java.net/node/882757
>
>