Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97153 invoked from network); 15 Aug 2007 19:37:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 19:37:06 -0000 Received: (qmail 18075 invoked by uid 500); 15 Aug 2007 19:36:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17757 invoked by uid 500); 15 Aug 2007 19:36:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 17746 invoked by uid 99); 15 Aug 2007 19:36:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 12:36:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jamin.short@gmail.com designates 209.85.162.176 as permitted sender) Received: from [209.85.162.176] (HELO el-out-1112.google.com) (209.85.162.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 19:36:49 +0000 Received: by el-out-1112.google.com with SMTP id y26so10131ele for ; Wed, 15 Aug 2007 12:36:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BCLCKILXIY+Ahp4Z9PO+2QSrvgi2tB+7lGXPX8/69fWQxWkQ2xS9j1VJou3sgtsCDuYHKK598wq6ptC5ppXc4s5hWUzHPuVOAvlT8aMxZsk/jMfkb8kUSU1VCqqrtNTUvzHtulEJgCXuafo8l4TgsWEPPonIdig4+fNDI6xlA4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uVrUMITXnBHzHWPB0ZExg1lgolwjnH1Wmu13NJ3JJre5o0fiAyfmnQz94PW+xyWBZZlEEpxERFOUDHN9jGsyOzAfNSz4Xf0FXCoGzNmIOcQ6rP/25F3F26dvYBdo+yDLDkq9/6JYltMxebz2Xlbeyvif3CH15zLnyW4p5uMRL8w= Received: by 10.142.229.4 with SMTP id b4mr48457wfh.1187206587098; Wed, 15 Aug 2007 12:36:27 -0700 (PDT) Received: by 10.143.35.17 with HTTP; Wed, 15 Aug 2007 12:36:27 -0700 (PDT) Message-ID: <86aa493a0708151236l125be7faw6e2ddd541de8974d@mail.gmail.com> Date: Wed, 15 Aug 2007 20:36:27 +0100 From: "ben short" To: "Tomcat Users List" Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads In-Reply-To: <46C351D6.3050101@nurelm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46C351D6.3050101@nurelm.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Have a look at the commons-fileupload [1], it should help you out. Ben [1] http://commons.apache.org/fileupload/ On 8/15/07, David Hesson wrote: > I am dealing with a client who needs multi-gigabyte uploads (4GB+, > whatever he wants really, and he says it is needed/required by the > system.) Anyways, I currently upload a 4GB file to my Tomcat server, > and it is set to simply post to a JSP with the file (please note that > files <2GB work fine, forms are set up fine), and that JSP page is never > reached. It simply looks like Tomcat is invoking the servlets/target of > the request or this is because something hasn't been dealt with yet in > the request to cause this action. My logs are all clean of errors, > however, and the filter chain works fine (to some extent, it loops > forever with this request because it is waiting for it to be dealt > with). I receive log messages in beforeProcessing, process, and > afterProcessing. However, the JSP is never hit, or if I post the file > to a servlet, the servlet is never invoked. I have already tried > configuring the connector to use maxPostSize="0", as well as setting the > maxHttpHeaderSize variable. I am clearly at a loss of what to do. I > also tried creating a Request Listener whenever requests are created but > the request never gets a contentLength or contentType. The server > simply begins looping the filter chain over and over and over and never > hits my servlet/upload.jsp page. > > Any help would be greatly appreciated. > > David > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org