Hi, I've embedded tomcat 8.0.20 and using that. I build the tomcat websocket example and when I'm trying to run it in my server for all 4 examples (Echo, chat, etc..) I'm getting
> Info: WebSocket connection closed, Code: 1006 In the console it prints WebSocket connection to 'ws:// > 10.100.7.26:9763/examples/websocket/echoProgrammatic' failed: Error > during WebSocket handshake: Unexpected response code: 302 This same war file is running perfectly on Tomcat distribution. Can someone tell me what could be the reason for this? In the pom, my dependency is as follows <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-websocket</artifactId> <version>8.0.20</version> </dependency> Thanks Best Regards --