That's very strange. I'll take a look and see. I've not seen that
happen but i've not tried it with wss.
On 7/8/11 7:53 AM, forums_at_java.net wrote:
> Small correction:
>
> The Exception is thrown once after each /redeploy/ of the WebSocket
> Application, not just after each server restart.
>
> At the moment I'm doing this:
>
> try {
> webSocket = new
> ClientWebSocket("wss://localhost:8181/WebSocketServer/websocket",
> listener);
> } catch (IOException e) {
> //Retry - because of the issue when the app was just deployed.
> try {
> webSocket = new
> ClientWebSocket("wss://localhost:8181/WebSocketServer/websocket",
> listener);
> } catch (IOException ioe) {
> LOGGER.severe(e.getMessage());
> }
> }
>
> But this is not really acceptable.
>
> Thanks
>
>
> --
>
> [Message sent by forum member 'MohamzJava']
>
> View Post: http://forums.java.net/node/819491
>
>