Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 31057 invoked from network); 10 Mar 2011 14:31:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 14:31:45 -0000 Received: (qmail 8588 invoked by uid 500); 10 Mar 2011 14:31:43 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 8534 invoked by uid 500); 10 Mar 2011 14:31:43 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 8526 invoked by uid 99); 10 Mar 2011 14:31:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 14:31:43 +0000 X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=SPF_PASS,URI_NOVOWEL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [141.191.20.139] (HELO i52mrp04.equitable.com) (141.191.20.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 14:31:38 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAHJveE0KTJJi/2dsb2JhbACneT/AV4ViBIUkim8 X-IronPort-AV: E=Sophos;i="4.62,295,1297054800"; d="scan'208";a="9255520" Received: from w51fmp42.axa-financial.intraxa ([10.76.146.98]) by i52mrp04-int.equitable.com with ESMTP; 10 Mar 2011 09:31:16 -0500 Received: from W51FMPC4M1.axa-financial.intraxa ([10.76.146.30]) by w51fmp42.axa-financial.intraxa with Microsoft SMTPSVC(6.0.3790.4675); Thu, 10 Mar 2011 09:31:16 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [fileupload] Issue in reading file from webserver to appserver Date: Thu, 10 Mar 2011 09:31:08 -0500 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [fileupload] Issue in reading file from webserver to appserver Thread-Index: AcvfKiA0irWYqEGsQAmEhN7uX+ma7AABARygAABcDbA= References: From: "Anbazhagan, Karunainathan" To: "Commons Users List" X-OriginalArrivalTime: 10 Mar 2011 14:31:16.0616 (UTC) FILETIME=[D0965080:01CBDF2F] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=20 I am having issue with the file upload functionality. Please review below details. Any help would be appreciated. =20 Problem statement:=20 =20 Not able to upload document to one of our website which uses common file upload functionality.=20 Webserver is not getting the file when the user is uploading the file to website. =20 =20 The site was running in, =20 Weblogic - 10.1 Apache - 2.0.52 (Linux 2.6.9-67) Common File upload - 1.1 =20 =20 Error message on the apache webserver logs: =20 [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/; got exception 'READ_ERROR_FROM_FILE [os error=3D0, line 145 of ap_proxy.cpp]: Cannot read 0 bytes of postData from tmp file '/tmp/_wl_proxy/_post_8835_0'', referer:=20 =20 Error message on the weblogic logs: =20 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=20 may contain legally privileged and/or confidential information.=20 Any unauthorized disclosure, use or dissemination of this e-mail=20 message or its contents, either in whole or in part, is prohibited.=20 If you are not the intended recipient of this e-mail message,=20 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