commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anbazhagan, Karunainathan" <Karunainathan.Anbazha...@axa-equitable.com>
Subject RE: [fileupload] Issue in reading file from webserver to appserver
Date Thu, 10 Mar 2011 14:31:08 GMT
Hi, 

 I am having issue with the file upload functionality. Please review
below details.
Any help would be appreciated.
 
Problem statement: 
 
 Not able to upload document to one of our website which uses common
file upload functionality. 
Webserver is not getting the file when the user is uploading the file to
website.
 
 
The site was running in,
 
Weblogic - 10.1
Apache    - 2.0.52 (Linux 2.6.9-67)
Common File upload - 1.1
 
 
Error message on the apache webserver logs:
 
[Fri Mar 04 14:11:01 2011] [error] [client 24.38.26.132] ap_proxy:
trying POST /xxxxxxxx/xxxxxxxxxxAction.do at backend host
'10.x.x.x/<port no>; got exception 'READ_ERROR_FROM_FILE [os error=0,
line 145 of ap_proxy.cpp]: Cannot read 0 bytes of postData from tmp file
'/tmp/_wl_proxy/_post_8835_0'', referer: 
 
Error message on the weblogic logs:
 
ERROR - 2010-12-13 16:29:46,625 [[ACTIVE] ExecuteThread: '2' for queue:
'weblogic.kernel.Default (self-tuning)']
upload.CommonsMultipartRequestHandler (handleRequest:241) - Failed to
parse multipart request
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed. EOF after reading only: '0' of:
'26170' 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(Co
mmonsMultipartRequestHandler.java:233)
        at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)
        at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
or.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)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)




Thanks,
Karunai

**********************************************************************

Confidentiality Note: This message and any attachments 
may contain legally privileged and/or confidential information. 
Any unauthorized disclosure, use or dissemination of this e-mail 
message or its contents, either in whole or in part, is prohibited. 
If you are not the intended recipient of this e-mail message, 
kindly notify the sender and then destroy it.

**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message