Re: Closing a CometEvent in Tomcat 6.0.16

2008-07-16 Thread Filip Hanik - Dev Lists
the error 'Connection reset by peer' can happen to a regular servlet as well, and is not specific to Comet. you will need to handle any errors where clients disconnect (as they are allowed to) in your application, regardless if you write comet or regular servlets. for the error 'org.apache.coy

Closing a CometEvent in Tomcat 6.0.16

2008-07-16 Thread John Chilton
Hello All, So I have a piece of code that writes something out to the ServletOutputStream associated with a Comet Event, flushes the stream, and then calls cometEvent.close() in response to an END event. This whole process in synchronized. Today while attempting to flush the stream, an exception w