When org.apache.tomcat.util.net.JIoEndpoint catches Throwable and write a log message, it does not do anything with the Socket. This means it will be left open until the client times out and closes the connection. This causes problems when non-blocking thread pools are used by the web container, since a RejectedExecutionException is thrown.
This is actually caused by QueueExecutor not emitting RejectedExecutionExceptions when there is no handoff executor, but QueuelessExecutor doing so.
James Livingston <jlivings> updated the status of jira JBTHR-24 to Coding In Progress
David Lloyd <david.lloyd> updated the status of jira JBTHR-24 to Resolved
David Lloyd <david.lloyd> made a comment on jira JBTHR-24 Merged, thanks.
Reformatted supplied Doc Text (thanks James) and marked for inclusion in the 6.2 Release Notes.
This was fixed in EAP 6.2, by the component upgrade of bug 994281, and is in the release notes. It must have accidentally not been closed.