tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Trouble downloading large file (>1GB)
Date Wed, 04 Nov 2015 20:03:43 GMT

On 11/4/15 9:20 AM, jamie wrote:
> We are using Apache Tomcat Version 7.0.59. We have received downloads
> from our servlet greater than 1GB in size complete prematurely. Smaller
> files are no problem. All data is streamed so no OME occurs.


> We tried increasing the connection timeout on the connector, but it
> made no difference.

The connection timeout here isn't relevant.

> This looks to be a Tomcat related issue. There is no any
> specific error reported in the Tomcat logs. The download completes short
> of the actual file size.

Nothing at all in the logs?

> The connector is defined as follows:
> <Connector connectionTimeout="20000" port="8090"
> protocol="org.apache.coyote.http11.Http11NioProtocol"
> redirectPort="8443" URIEncoding="UTF-8" compression="on"
> noCompressionUserAgents="gozilla, traviata"
> compressableMimeType="text/html,text/xml,text/css,text/plain,application/javascript,application/json"
> enableLookups="false"  disableUploadTimeout="true"  />
> Any ideas, on what might be the cause?

What code on the server side is serving this resource? Is it the
DefaultServlet (static file) or some code you wrote?

What happens if you disable compression?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message