Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
Mark, Here after doing all the tests I found the exact error. It was not what i am thinking all through. Sorry for the confusion I created and I apologize for overenthusiasm in opening the bug. The problem was with order of proxypass directives i was confiuring Here I gice both configurations

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
When I revert to earlier config with localhost it starts working. On Sat, Mar 1, 2014 at 6:18 PM, J Java wrote: > JkMount /jkweb/* localtomcat > JkUnMount /jkweb/project/content/* localtomcat > JkUnMount /jkweb/angle/content/* localtomcat > JkUnMount /jkweb/index.jsp localtomcat > JkUnMount

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
JkMount /jkweb/* localtomcat JkUnMount /jkweb/project/content/* localtomcat JkUnMount /jkweb/angle/content/* localtomcat JkUnMount /jkweb/index.jsp localtomcat JkUnMount /jkweb/ localtomcat ProxyRequests Off ProxyPreserveHost On ProxyPass /jkweb ! ProxyPass /jkweb/ ! ProxyPass /jkweb/websocke

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
Mark, following is how i have configured reverse proxy : ProxyRequests Off ProxyPreserveHost On ProxyPass /jkweb ! ProxyPass /jkweb/ ! ProxyPass /jkweb/websocket/ ws://localhost:8080/jkweb/websocket/ ProxyPassReverse /jkweb/websocket/ ws://localhost:8080/jkweb/websocket/ ProxyPass / http:/

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread Mark Thomas
On 1 March 2014 10:02:48 GMT, J Java wrote: >I tried debuggin tomcat sources. And compared the difference I am >getting >between normal tomcat websocket examples and my code. Only difference i >could found was tomcat example uses Abstract Protocol class to fire the >register session event and mine

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
I tried debuggin tomcat sources. And compared the difference I am getting between normal tomcat websocket examples and my code. Only difference i could found was tomcat example uses Abstract Protocol class to fire the register session event and mine uses AjpProcessor(because I am using tomcat behin

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
127.0.0.1 - - [01/Mar/2014:14:20:12 +0530] "GET /jkweb/js/angle/addAngle.js?_=1393663610411 HTTP/1.1" 200 4278 127.0.0.1 - - [01/Mar/2014:14:20:41 +0530] "GET /jkweb/angle/validateDuplicateAngleName.action?angleName=angle7 HTTP/1.1" 200 - phasingapp.com - - [01/Mar/2014:14:21:15 +0530] "GET /jkweb/

Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
I had recently implemented websocket on tomcat 7.0.50. my tomcat runs behind apache 2.4. I use Strtus 2 and Spring Security. It has stopped working. Problem : Websocket connection is opened successfully. Javascript event handler get fires successfully. Apache logs show that request was accepted as