DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5181>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5181

HttpConnector [8080] No processor available, rejecting this connection

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         OS/Version|All                         |Windows NT/2K
           Platform|All                         |PC
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2002-03-21 08:23 -------
I can reproduce this bug every time with the following:

Tomcat 4.0.3
JRE 1.4 (final release)
Turbine TDK 2.1 - Sample App
http://jakarta.apache.org/builds/jakarta-turbine/release/2.1/

Using IE 5.0 goto the URL:
http://localhost:8080/newapp/servlet/newapp
and hold down the F5 key for a bit.

Using JRE 1.3 it does not reproduce.

After walking through the code, it appears (to someone not familiar with the
source) that this exception prevents the recycle of the HttpProcessor.  The net
effect is that once maxProcessors is exceeded the server can never accept
requests again.

Stack Trace:
java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END

        at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEnc
oder.java:933)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:529)
        at sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.ja
va:356)
        at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:413)
        at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:158)
        at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
        at java.io.PrintWriter.close(PrintWriter.java:137)
        at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBas
e.java:482)
        at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpRes
ponseBase.java:236)
        at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(Ht
tpResponseImpl.java:288)
        at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1039)
        at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1107)
        at java.lang.Thread.run(Thread.java:536)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to