commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Wiedmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FILEUPLOAD-71) [fileupload] FileUploadException: Processing of multipart/form-data request failed. Read timed out
Date Wed, 25 Feb 2009 20:41:02 GMT

    [ https://issues.apache.org/jira/browse/FILEUPLOAD-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676767#action_12676767
] 

Jochen Wiedmann commented on FILEUPLOAD-71:
-------------------------------------------

Ralf, simply log the required information before starting the file upload. If Struts doesn't
do this for you, subclass the CommonsMultipartRequestHandler, or do something similar. You
don't need changes in FileUpload for that.


> [fileupload] FileUploadException: Processing of multipart/form-data request failed. Read
timed out
> --------------------------------------------------------------------------------------------------
>
>                 Key: FILEUPLOAD-71
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-71
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.0 Final
>         Environment: Operating System: other
> Platform: Other
>            Reporter: amila navarathna
>            Assignee: Jochen Wiedmann
>
> Commons file upload is used bu the struts to upload the files from the disk. I
> got the following error. I think this happens when the size of file is bit
> large. I have tried to upload xml files with size 8-9 KB. Sometimes I was able
> to upload and sometimes it failed.
> Details:
> Platform: Fedora core 3
> Version used: commons-fileupload-1.0-rc1.jar
> Please checkout this link also
> (http://www.jroller.com/page/gstamp?entry=file_upload_problem_read_timed)
> 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:195)
>         at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:445)
>         at
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:798)
>         at
> com.valista.core.node.ui.system.StrutsRequestProcessor.process(Unknown Source)
>         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message