Hello Tomcat Users,
I have a working websocket based application based on Tomcat 7.0.68 examples in
my local environment. There are issues (i.e.
java.lang.UnsupportedOperationException: HTTP upgrade is not supported by the
AJP protocol) when running the same in a data center with an Apache web server
front end that acts as a load balancer. In this scenario, the Java hosting
provider is asking me to run websocket traffic through separate dedicated port
XXXX. So I would have to respond to regular HTTP requests over default 8080
port and to HTTP websocket requests over port XXXX. Is it possible to still use
the annotated @ServerEndpoint or similar approach and tell it to listen on the
XXXX port? How can I do this under Tomcat?
Thanks so much for any hints or examples.
Gigi