• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts FileUploadException

 
Sridhar Gollapalli
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,

In my application, I am uploading a file by using struts upload. My application configuration is Weblogic 8.1 sp2 and jdk 1.4. I am getting 2 errors when uploading the file

1) org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. EOF after reading only: '0' of: '1477' promised bytes, out of which at least: '0' were already buffered
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)

2) 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)

This actually application server throws before it goes to Action class.

Can any body please suggest us what need to be done. I can not even catch the exceptions and user who uploaded thinks that file is uploaded. Can any body please help for this.

I really appreciate for the help.

Thanks in Advance.

Sriha
 
P Kuks
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sridhar,

I happen to have the same problem as you. Were you able find any solution? Any help would be much appreciated

Thanks

pkuks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic