Re: Tomcat7 + WebSocket + mod_jk

2012-09-18 Thread sfwicket
So run a single instance of Tomcat on port 80 with no HAProxy or Apache and hit it directly in production env sounds like the only answer? And subsequently all static content deployed with that web app will be served by Tomcat? With no load distribution between instances using an LB? Looking for a

Re: Tomcat7 + WebSocket + mod_jk

2012-09-18 Thread sfwicket
Assuming you mean you can't use mod_jk with a WebSocket app... More generally speaking, what is the Best Practice for configuring a production environment stack utilizing a Tomcat Web App which uses WebSockets? Load Balancer, Apache, Tomcat - and specifically - the proxying of traffic on port 80.

Tomcat7 + WebSocket + mod_jk

2012-09-18 Thread sfwicket
My WebSocket connection is closing briefly after opening because I have Apache httpd on port 80 with mod_jk running in front of my Tomcat instance on port 8080. When I connect directly on 8080 to Tomcat the WebSocket app works. What is the recommended configuration to allow a WebSocket app to r