Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 1539 invoked from network); 11 Jan 2006 04:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jan 2006 04:12:56 -0000 Received: (qmail 74175 invoked by uid 500); 11 Jan 2006 04:12:51 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 73988 invoked by uid 500); 11 Jan 2006 04:12:49 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 73977 invoked by uid 99); 11 Jan 2006 04:12:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 20:12:49 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mfncooper@gmail.com designates 64.233.184.203 as permitted sender) Received: from [64.233.184.203] (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 20:12:48 -0800 Received: by wproxy.gmail.com with SMTP id 36so54273wra for ; Tue, 10 Jan 2006 20:12:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references; b=BP0f2W41GzEhvn1ww653G6SwoO9qjiwNONI+yAT7nmXxb/M5gpL4c+M9zpJAedw2mIyHi1sipyQRTGtu0gav/aLia5J2Mm9gRRirgZPMD+ez2yil1i0eUGLQaRJTZSEN8pjhxwghsCWre2EGVza/LIRGL4pfxm5UieDPz1Yp8KM= Received: by 10.65.114.1 with SMTP id r1mr81555qbm; Tue, 10 Jan 2006 20:12:28 -0800 (PST) Received: by 10.65.97.6 with HTTP; Tue, 10 Jan 2006 20:12:28 -0800 (PST) Message-ID: <16d6c6200601102012m538f6ea4u8ff3d377418ec026@mail.gmail.com> Date: Tue, 10 Jan 2006 20:12:28 -0800 From: Martin Cooper Sender: mfncooper@gmail.com To: Jakarta Commons Users List Subject: Re: FileUploadBase.UnknownSizeException In-Reply-To: <8C7E47401B8D1C4-B3C-98E@mblk-d48.sysops.aol.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7290_7199060.1136952748169" References: <8C7E47401B8D1C4-B3C-98E@mblk-d48.sysops.aol.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_7290_7199060.1136952748169 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/10/06, poc0456@aim.com wrote: > > hello > > i'm working the latest version 1.1 of fileupload but i'm getting the > following error when i run my app (a java portlet) in bea weblogic 8.1, > sp5: > > org.apache.commons.fileupload.FileUploadBase$UnknownSizeException: the > request was rejected because it's size is unknown > > is fileupload not working right? That depends. If the request does not include a content length header, then FileUpload is working correctly. It cannot handle multipart requests unless the content length is specified. There is an existing enhancement request t= o add support for this case. However, this seldom comes up with browser clients. If the request _does_ include a content length header, then there might be an issue. You should also ensure that the request has not already been parsed by some other code before it reaches your code. -- Martin Cooper -- poc > ________________________________________________________________________ > Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leadin= g > spam and email virus protection. > > ------=_Part_7290_7199060.1136952748169--