Shapira, Yoav wrote: > 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)
Well, the max size of the HTTP header on output is about 32 kbytes. As always, the HTTP spec doesn't set any limits, but Coyote does. I have no idea what you're doing to get over that. I suppose a ton of cookies or something ... An option will probably be added eventually to allow configuring that. Right now, it's not (except by hacking the code; there's a constant in org.apache.coyote.http11.Constants: DEFAULT_HTTP_HEADER_BUFFER_SIZE). Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>