Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 78665 invoked from network); 4 May 2008 23:17:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2008 23:17:42 -0000 Received: (qmail 51142 invoked by uid 500); 4 May 2008 23:17:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 51113 invoked by uid 500); 4 May 2008 23:17:31 -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 51102 invoked by uid 99); 4 May 2008 23:17:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 16:17:31 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [140.172.10.145] (HELO paris.boulder.noaa.gov) (140.172.10.145) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 23:16:38 +0000 Received: from noaa.gov (paris.boulder.noaa.gov [140.172.10.145]) by email.boulder.noaa.gov (iPlanet Messaging Server 5.2 HotFix 2.01 (built Aug 26 2004)) with ESMTP id <0K0D007YCA0B3J@email.boulder.noaa.gov> for users@tomcat.apache.org; Sun, 04 May 2008 23:16:59 +0000 (GMT) Received: from [75.71.14.221] by email.boulder.noaa.gov (mshttpd); Sun, 04 May 2008 17:16:59 -0600 Date: Sun, 04 May 2008 17:16:59 -0600 From: John.C.Cartwright@noaa.gov Subject: Re: unable to read complete POST body via tomcat connector To: Tomcat Users List Message-id: <8577780f62.80f6285777@noaa.gov> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.01 (built Aug 26 2004) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Virus-Checked: Checked by ClamAV on apache.org Thanks for your reply Ben. No, there's no SSL involved. --john ----- Original Message ----- From: Ben Stringer Date: Sunday, May 4, 2008 0:50 am Subject: Re: unable to read complete POST body via tomcat connector > On Sun, 2008-05-04 at 00:41 -0600, John.C.Cartwright@noaa.gov wrote: > > Hello All, > > > > I'm trying to POST a relatively small amount of content (22K) and > find> that when the request comes via apache/mod_jk, I can only > read part of > > the body. The same request to standalone tomcat (HTTP connector) > works> file. I'm reading the POST body with code like: > > > > BufferedReader reader = request.getReader(); > > String inputLine; > > while ((inputLine = reader.readLine()) != null) { > > sb.append(inputLine); > > } > > > > Can anyone suggest what might be wrong? > > Is there SSL anywhere in your setup? > > Can't see why this would not be working - you may want to try tweaking > the max_packet_size in workers.properties and packetSize on the Tomcat > connector, details here: > > http://tomcat.apache.org/connectors-doc/reference/workers.html > > Cheers, Ben > > > > -------------------------------------------------------------------- > - > 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