Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 32314 invoked from network); 12 Nov 2004 20:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Nov 2004 20:19:10 -0000 Received: (qmail 91792 invoked by uid 500); 12 Nov 2004 20:19:05 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 91748 invoked by uid 500); 12 Nov 2004 20:19:04 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 91734 invoked by uid 99); 12 Nov 2004 20:19:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.221.8.85] (HELO KCC.USDA.GOV) (165.221.8.85) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 12 Nov 2004 12:19:04 -0800 Received: from KCMOGATEWAY-MTA by KCC.USDA.GOV with Novell_GroupWise; Fri, 12 Nov 2004 14:19:02 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.4 Date: Fri, 12 Nov 2004 14:18:56 -0600 From: "David Liles" To: Subject: fileupload problems Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am using the commons-fileupload jar in an application and am experiencing= a stream termination error when in our production environment. This same functionality works without problems on the local laptop where = it is being developed, but once the code is moved to production 99% of the = time we get an error. The odd thing is that after countless tests last = night two of the test attempts worked but all of the others generated an = error. -- ERROR MESSAGE -- 2004-11-11 21:58:34 StandardWrapperValve[action]: Servlet.service() for = servlet action threw exception org.apache.commons.fileupload.FileUploadException: Processing of multipart/= form-data request failed. Stream ended unexpectedly Is there a Tomcat setting that should be adjusted from the default = regarding socket timeouts? I've set the following values in the = tag: connectionTimeout=3D"0" disableUploadTimeout=3D"true"=20 Our environment is Tomcat 5.0.x on a Windows 2000 server with JDK 1.4 Any ideas? Thanks - David --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org