Thanks Robert,
We are indeed using tomcat (4.2.27), and I've tried your suggestion. But the
same problem still occurs. The problem is not that we are trying to upload
large files that exceed the upload timeout. In fact this problem only occurs
when the form file input is left empty, and no file is uploaded at all at
that moment. If any file is specified, uploading works fine.
The exception also never occurs when IE6.0 is used as a browser client,
neither on XP. It is the combination of using SSL with IE5.5 on windows 2000
and older machines.
Below I included the stacktrace after having upgraded to fileupload 1.0
(included in struts 1.1).
Wilco.
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed. Read timed out
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:233)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)
at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>From: Robert Leland <rleland@apache.org>
>Reply-To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
>To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
>Subject: Re: [Commons-fileupload] FileUploadException: .. Read timed out
>Date: Tue, 09 Sep 2003 11:19:18 -0400
>
>Wilco Kasteleijn wrote:
>
>Under tomcat in the server.xml there is an upload timeout, I assume in your
>container
>there would be an equalivent setting.
>
>-Rob
>
>>Hi,
>>We are having a similar problem as posted before by Daryl Stultz (08 Jul
>>2003). This exception only occurs under the following conditions:
>>
>>- Usage of SSL;
>>- Win2000 SP4 client or older, with IE5.5;
>>- The form has a file input parameter that is LEFT EMPTY during form
>>submission;
>>
>>Daryl, have you found a solution for this? Anybody else any ideas?
>>
>>See stacktrace below. This is from the previous release of fileupload. But
>>the same problem still occurs with the latest version (1.0).
>>
>>Regards,
>>Wilco.
>>
>>org.apache.commons.fileupload.FileUploadException: Processing of
>>multipart/form-data request failed. Read timed out
>> at
>>org.apache.commons.fileupload.FileUpload.parseRequest(FileUpload.java:462)
>>
>> at
>>org.apache.commons.fileupload.FileUpload.parseRequest(FileUpload.java:304)
>>
>> at
>>org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:234)
>>
>> at
>>org.apache.struts.util.RequestUtils.populate(RequestUtils.java:943)
>> at
>>org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:784)
>>
>> at
>>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:244)
>>
>> at
>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1291)
>> at
>>org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:502)
>>
>>===
>>Wilco Kasteleijn
>>Bright Alley Knowledge & Learning BV
>>www.brightalley.com
>>
>>_________________________________________________________________
>>The new MSN 8: smart spam protection and 2 months FREE*
>>http://join.msn.com/?page=features/junkmail
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|