after step 4 you should call close on the CometEvent.
this way, tomcat should recycle all objects and be ready for a new request.
you see, otherwise the next request would become a simple READ event
(where the HTTP headers would become the body)
in your case, the reason you're getting an error an
Hello,
we are developing a webapp and trying to use Tomcat Comet to allow asynchronous
processing of requests. Somehow we have problems with persistent connections
when using Comet (possibly due to some API misusage).
So, the short question is: does Tomcat Comet servlets support persistent
c