tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: TC6 gives ArrayIndexOutOfBoundsException when writing large headers
Date Wed, 11 Feb 2009 15:52:06 GMT
> From: Gustaf Cele [mailto:gustaf.cele@webstep.se]
> Subject: TC6 gives ArrayIndexOutOfBoundsException when
> writing large headers
>
> ALLVARLIG: An exception or error occurred in the container
> during the request processing
> java.lang.ArrayIndexOutOfBoundsException: 8192

You need to enlarge the maxHttpHeaderSize attribute of the <Connector> element(s) you're
using.

The doc here:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

says the default is 4096, but it's actually 8192 in the code.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message