tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Klop <ronald-mailingl...@base.nl>
Subject Re: Setting max file upload size
Date Wed, 29 Dec 2010 16:09:13 GMT
Set <Connector maxPostSize="<very large number>" /> in server.xml.
3 GB might be very large. I don't know if the value is a long or an int in the internals of
Tomcat.

This is from my live server.

    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="300" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="1024"
               connectionTimeout="20000" disableUploadTimeout="true"
               compression="on"
               maxPostSize="104857600" />

Ronald.

Op woensdag, 29 december 2010 17:03 schreef Anjib Mulepati <anjibcs@hotmail.com>:
> 
>  
> I am trying to upload the larger file through my app developed using Struts 1.3.8. I
did change the config in struts to upload file upto 3GB but that doesn't work.
> So now I am trying to find the configuration in Tomcat where I can set the max size for
file upload.
> Is there any?
> 
> Anjib
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message