Re: Keep Alive Serverconnection

2013-11-19 Thread Morten Bo Oelbye
and outputstream here? *** - Original Message - From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 30, 2013 9:51 PM Subject: Re: Keep Alive

Re: Keep Alive Serverconnection

2013-11-19 Thread André Warnier
Morten Bo Oelbye wrote: I am really schrewed up in this server show. I have tryed different suggestion. I do not know how to reuse the response and request connections. I end up with the same error. java.lang.IllegalStateException: Write attempted after request finished Websockets ? How to

Keep Alive Serverconnection

2013-10-30 Thread Morten Bo Oelbye
Where can I find any solution about an persistent Connection. I can use the reques.inputstream as long as want. But when I use the response as an outputstream, the connectien is closed. So, how to write ping, pong, ping, pong, etc without closing? An keep-Alive does not do it. Please help

Re: Keep Alive Serverconnection

2013-10-30 Thread David kerber
On 10/30/2013 9:12 AM, Morten Bo Oelbye wrote: Where can I find any solution about an persistent Connection. I can use the reques.inputstream as long as want. But when I use the response as an outputstream, the connectien is closed. So, how to write ping, pong, ping, pong, etc without closing?

Re: Keep Alive Serverconnection

2013-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 10/30/13, 9:29 AM, David kerber wrote: On 10/30/2013 9:12 AM, Morten Bo Oelbye wrote: Where can I find any solution about an persistent Connection. I can use the reques.inputstream as long as want. But when I use the response as an