Hi,
I moved an existing app from Tomcat 4.0.4 to 4.1.12-LE yesterday, and
started getting these errors sometimes.  I'm not sure why they happen,
and I haven't been able to reproduce them on demand.

Obviously, 4.1.x uses Coyote as the default http connector, whereas
4.0.4 was using the older http connector.  I wonder if this is related?
Does coyote have some sort of internal buffer limit, and if so, is it
configurable?  Or is this a known bug?  I couldn't find it on bugzilla.

This is using JDK 1.4.1 on Solaris 8.

Stack trace:

java.lang.ArrayIndexOutOfBoundsException: 32000
        at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer
.java:615)
        at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer
.java:567)
        at
org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputB
uffer.java:450)
        at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor
.java:897)
        at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:471
)
        at org.apache.coyote.Response.action(Response.java:214)
        at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
er.java:516)
        at org.apache.coyote.Response.doWrite(Response.java:508)
        at
org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:
380)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
        at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:346)
        at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
ava:273)
        at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:334)
        at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:40
2)
        at
sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:406)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:150)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
        at
org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:222)
        at
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:16
5)
        at
org.apache.coyote.tomcat4.OutputBuffer.realWriteChars(OutputBuffer.java:
576)
        at
org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:388)
        at
org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:376)
        at
org.apache.coyote.tomcat4.OutputBuffer.write(OutputBuffer.java:522)
        at java.io.PrintWriter.write(PrintWriter.java:230)
        at java.io.PrintWriter.write(PrintWriter.java:247)
        at
org.apache.coyote.tomcat4.CoyoteWriter.write(CoyoteWriter.java:107)
        at java.io.PrintWriter.newLine(PrintWriter.java:254)
        at java.io.PrintWriter.println(PrintWriter.java:405)
        at java.io.PrintWriter.println(PrintWriter.java:516)
<snip>

Any insight appreciated ;)  Thanks,

Yoav Shapira
Millennium ChemInformatics


This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

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

Reply via email to