users@glassfish.java.net

Re: Websocket not connecting from client, ...

From: <forums_at_java.net>
Date: Mon, 8 Jul 2013 19:44:58 -0500 (CDT)

Turns out the problem is with the Netbeans websocket templates. If you add
the default @OnError @OnError public void OnError() {} You end up with a
runtime fault that kills the web listener thread. Change it to: @OnError
public void OnError(Session s, Throwable t) {} and everything is fine.

--
[Message sent by forum member 'awaldfogel']
View Post: http://forums.java.net/node/897632