Might want to take a look at
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html.

Specifically setting the maxPostSize attribute of your connector in
server.xml.  As you can see from the docs, the default is about 2MB.

--David


>-----Original Message-----
>From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 12, 2006 1:28 PM
>To: users@tomcat.apache.org
>Subject: Large File (100MB+) Upload Issue
>
>
>Hello,
> 
>We are experiencing a problem uploading large files through our web
>portal.   We seem to have problems once the file gets to be 10-20MB.
>The file I am currently trying is 100MB.
> 
>When the user submits  via the web form, the file  appears to upload to
>a Tomcat temp file.  This upload completes (I know because I was doing a
>"watch" on the directory) but then something fails and the Java code (in
>the action class) which is supposed to execute doesn't.
> 
>What is happening between the time  Tomcat finishes uploading the temp
>file and the execute method is called?  Is there some validation being
>done in Tomcat or Apache that prevents files of a certain size from
>uploading?   Or maybe is there some timeout setting that would affect
>this? 
> 
>Also this could possibly be a system setting? 
> 
>I know that the code and struts configuration is *not* the problem.   I
>have tested the code in a dev environment and it works fine, even for a
>1.7GB file.  But obviously the settings for the webserver and system are
>different for production, though I'm not sure where to look.
> 
>Here's what we are using:
> 
>Linux
>Struts 1.1
>Apache 1.3.33
>Tomcat 5.0
> 
> 
>Regards,
>Lindsey
>
>**********************************************************************
>This e-mail is the property of Enron Corp. and/or its relevant affiliate and 
>may contain confidential and privileged material for the sole use of the 
>intended recipient (s). Any review, use, distribution or disclosure by others 
>is strictly prohibited. If you are not the intended recipient (or authorized 
>to receive for the recipient), please contact the sender or reply to Enron 
>Corp. at [EMAIL PROTECTED] and delete all copies of the message. This e-mail 
>(and any attachments hereto) are not intended to be an offer (or an 
>acceptance) and do not create or evidence a binding and enforceable contract 
>between Enron Corp. (or any of its affiliates) and the intended recipient or 
>any other party, and may not be relied on by anyone as the basis of a contract 
>by estoppel or otherwise. Thank you. 
>**********************************************************************
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to