Large File (100MB+) Upload Issue
- From: "Stryjewski Lindsey" <stryjewski_lindsey (at) bah.com>
- Date: Fri, 13 Oct 2006 15:03:10 -0400
I wonder if it's because the form bean object (which has the FormFile)
has grown too large?
Regards,
Lindsey
-----Original Message-----
From: Stryjewski Lindsey [mailto:stryjewski_lindsey (at) bah.com]
Sent: Friday, October 13, 2006 11:17 AM
To: Tomcat Users List
Subject: RE: Large File (100MB+) Upload Issue
Besides doing System.outs. I'm trying to see if I can debug without
having to redeploy code and interrupt service.
Regards,
Lindsey
-----Original Message-----
From: Stryjewski Lindsey [mailto:stryjewski_lindsey (at) bah.com]
Sent: Friday, October 13, 2006 11:02 AM
To: Tomcat Users List
Subject: RE: Large File (100MB+) Upload Issue
Increasing logging (via the verbosity attribute) doesn't seem to do
anything. Is there another way to get catalina.out to give me
something?
Regards,
Lindsey
-----Original Message-----
From: David Smith [mailto:dns4 (at) cornell.edu]
Sent: Thursday, October 12, 2006 3:46 PM
To: Tomcat Users List
Subject: Re: Large File (100MB+) Upload Issue
Honestly I don't know. I'm not there. Just offering a plausable
expanation -- sometime I get lucky and hit the nail on the head. To be
fair, your original post stated failures were being observed with
uploads of 10-20MB while a 1.7MB worked.
You might want to take a look at your logs though. If they don't show
the problem, increase logging temporarily.
--David
Stryjewski Lindsey wrote:
>If this were the issue, why would a 22MB file (which I just tested)
>work just fine?
>
>
>Regards,
>Lindsey
>
>-----Original Message-----
>From: David Smith [mailto:dns4 (at) cornell.edu]
>Sent: Thursday, October 12, 2006 3:20 PM
>To: Tomcat Users List
>Subject: Re: Large File (100MB+) Upload Issue
>
>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: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
>>
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>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
>
>---------------------------------------------------------------------
>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
>
>
>
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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