Disabling Naggle's algorithm / Setting tcpNoDelay programatically for web sockets

2015-06-24 Thread Ganesh Bms
Hi, As per tomcat's performance tuning doc, 'tcpNoDelay' can be enabled/disabled at connector level. Is there a programmatic way to set 'tcpNoDelay' to true for web socket connections ? I am using tomcat's proprietary web socket APIs in my application. I have gone though the API documentation of

Re: WebSocket: Special character escaping

2015-06-02 Thread Ganesh Bms
the issue by putting UTF-8 escaping to special characters. Regards, Ganesh On Wed, May 13, 2015 at 4:27 PM, Mark Thomas ma...@apache.org wrote: On 13/05/2015 11:44, Ganesh Bms wrote: Sorry .. correction to line: The text that my client sends is Test701á. Server received is SIP701

WebSocket: Special character escaping

2015-05-13 Thread Ganesh Bms
Hi, I have written a web socket server using web socket API(JSR-356) and which runs on tomcat version 7.0.56. My test client sends some text which has some special characters over web socket connection to my server. the problem is that server is not getting the client's text as it is. the special

Re: WebSocket: Special character escaping

2015-05-13 Thread Ganesh Bms
Sorry .. correction to line: The text that my client sends is Test701á. Server received is SIP701?. Actual: The text that my client sends is Test701á. Server received is Test701?. On Wed, May 13, 2015 at 3:33 PM, Ganesh Bms gbmsat...@gmail.com wrote: Hi, I have written a web socket server

Re: How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Ganesh Bms
I think, yes. That's why I went for programmatic endpoint. On Fri, Apr 24, 2015 at 4:55 PM, Thusitha Thilina Dayaratne thusithathil...@gmail.com wrote: Hi, Could someone tell me how does Tomcat identify the websocket endpoints in .war file? Does it scan all the classes and looks for

Fwd: Web socket connection getting dropped

2015-04-13 Thread Ganesh Bms
Hi folks, I am facing an issue with tomcat's proprietary web socket API. I have implemented web socket server application using tomcat's proprietary APIs. The web socket connections are getting dropped after 2-3 hours of idle. The tomcat is not even notifying my app about this disconnection. The