By Date: <-- -->
By Thread: <-- -->

Large File (100MB+) Upload Issue



I know I had some issues like this once that related to ssl. My dev server worked fine but when I got under https it timedout. 

Man I can't remember what config we changed, but you can try the disabletimeoutonupload setting in server.xml for either your 80 or 443 connector. Otherwise google on ssl, https, tomcat  and upload and see if that gets you anything. 

Sorry its not definitive but it's worth a look. 


-----Original Message-----
From: Stryjewski Lindsey [mailto:stryjewski_lindsey (at) bah.com]
Sent: Thursday, October 12, 2006 1:28 PM
To: users (at) 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 enron.messaging.administration (at) enron.com 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 (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org