DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42753>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42753 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2007-06-27 12:35 ------- I have very explicit logging and I'm 100% certain that I'm not doing any async reads. In fact, from the log I sent to the user list before reporting this as a bug you can see that everything is happening in 1 thread, namely http-8080-exec-4: 2007-06-26 14:37:08,427 DEBUG [http-8080-exec-4] com.sebster.myservlet.TomcatCometServlet - BEGIN event for request [EMAIL PROTECTED] 2007-06-26 14:37:08,427 DEBUG [http-8080-exec-4] com.sebster.myservlet.TomcatCometServlet - 127.0.0.1:60578 POST /mycometservlet 2007-06-26 14:37:08,432 DEBUG [http-8080-exec-4] com.sebster.myservlet.TomcatCometServlet - [24224039-a37e-40d0-a076-89d1df363390] read loop in BEGIN event, input stream data available: 1 2007-06-26 14:37:08,438 DEBUG [http-8080-exec-4] com.sebster.myservlet.TomcatCometServlet - [24224039-a37e-40d0-a076-89d1df363390] read loop done, input stream data available: 0 2007-06-26 2:37:08.MD org.apache.catalina.connector.CoyoteAdapter event SEVERE: The servlet did not read all available bytes during the processing of the read event Note that I'm not implying that available() does a socket access; what I saw was that when the loop I described in the original post ended the condition "available() == 0" was true, and when it got to CatalinaAdapter the condition Request.getAvailable() was true. Futhermore, I really am seeing the loop without the connection being closed, both on the windows platform and on the Linux platform. I'm happy to help debug this further, but I'm not making it up: I have a breakpoint in my CometProcessor.event() method, I see the Poller thread spin like crazy, and when I set a break point in the Poller the CPU load goes away. I can step through it and see that the connection stays open, it sets the event type to END on the comet event, but it never reaches my CometProcessor.event() method. Finally, what I mean with "no 6.0.13 available in the version field" is the dropdown box in which to mark the Tomcat version in the bugzilla bug form. It goes up to and including 6.0.11. Regards, Sebastiaan -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]