Re: Comet Servlet with a reverse proxy in front of it

2014-05-16 Thread Elias Kopsiaftis
Here is my config for using nginx as a reverse proxy in front of tomcat. Seems to work so far. Just replace the question marks with your configuration server { listen 80; server_name ??; root /var/lib/tomcat7/webapps/?. location / { proxy_

Re: Comet Servlet with a reverse proxy in front of it

2014-05-16 Thread Elias Kopsiaftis
Hey, I actually got this working so far with nginx(and by so far I mean the random connection errors I was getting with apache2 have not surfaced yet). Ill post the nginx config setup later today when I get home for the benefit of anyone else who wants to do this. On Mon, May 12, 2014 at 3:34 P

Re: Comet Servlet with a reverse proxy in front of it

2014-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Elias, On 5/12/14, 11:20 AM, Elias Kopsiaftis wrote: > Is there any way to put a reverse proxy in front of a Comet > servlet? I don't believe so. There is work being done on supporting Websocket through mod_proxy but it will likely never support Co

Comet Servlet with a reverse proxy in front of it

2014-05-12 Thread Elias Kopsiaftis
Is there any way to put a reverse proxy in front of a Comet servlet? I tried apache but thats a no go because it uses a single thread per connection, which is not scaleable, then I tried nginx, which perhaps I did something wrong in my setup but in the client code, the call to getInputStream never