Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 87725 invoked from network); 4 May 2008 12:05:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2008 12:05:49 -0000 Received: (qmail 92365 invoked by uid 500); 4 May 2008 12:05:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 92332 invoked by uid 500); 4 May 2008 12:05:38 -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 92321 invoked by uid 99); 4 May 2008 12:05:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 05:05:38 -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 (athena.apache.org: local policy) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 12:04:54 +0000 Received: from [192.168.2.102] ([192.168.2.102]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id m44C56w5018973 for ; Sun, 4 May 2008 14:05:07 +0200 (CEST) Message-ID: <481DA66A.9010602@kippdata.de> Date: Sun, 04 May 2008 14:04:58 +0200 From: Rainer Jung User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: unable to read complete POST body via tomcat connector References: <7eeed7f0ea.7f0ea7eeed@noaa.gov> <481D710F.10207@apache.org> In-Reply-To: <481D710F.10207@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Mark Thomas schrieb: > 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? > > Tomcat version? mod_jk version? httpd version? jvm version? > Which part of the body can you read? How much data can you read? Is it > always the same or does it vary by request? > > Mark ... and if you are using 5.5.26 or 6.0.16 and always get around 8KB, you might be hitting Bugzilla 44494 (https://issues.apache.org/bugzilla/show_bug.cgi?id=44494). Rainer --------------------------------------------------------------------- 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