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