Re: Comet response is set to empty HTTP 200 reply by the framework problem

2009-11-11 Thread georgi danov
Hi, After some late night debugging yesterday I got it stable. The magic spell was to put event.getHttpServletRequest().setAttribute(org.apache.tomcat.comet.support , Boolean.TRUE); in my BEGIN event handler. After that I had to follow the advice to put the event.close() in

Comet response is set to empty HTTP 200 reply by the framework problem

2009-11-10 Thread georgi danov
Hi, I have a CometProcessor servlet that receives events and queues them for processing by separate thread pool (a.k.a. asynchronous processor). I do that because I could get 1000s of concurrent requests for job that includes IO wait and I donĀ¹t want to have 1000s of threads lying around

Re: Comet response is set to empty HTTP 200 reply by the framework problem

2009-11-10 Thread Filip Hanik - Dev Lists
200 OK is immediate, but the body is left open. meaning, the chunk is left. you can share your tcpdump and tomcat logs Filip On 11/10/2009 07:08 AM, georgi danov wrote: Hi, I have a CometProcessor servlet that receives events and queues them for processing by separate thread pool