I'm trying to use Tyrus v 1.12 in a Java client. When I attempt to
connect to the server I get two exceptions
javax.websocket.DeploymentException: Handshake error
followed by
org.glassfish.tyrus.core.HandshakeException: Response code was not
101: 400.
I have a javascript client that connects fine.
The server is on Tomcat 7 with a servlet extending WebSocketServlet. I
can't move to Tomcat 8.
My connect code is
ClientManager client = ClientManager.createClient();
client.connectToServer(new Endpoint() ... }, cec, new
URI("ws://localhost/admin/EditorComm"));
The servlet does call its init() function when first try to connect,
but it never creates a inbound socket.