Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 50100 invoked from network); 4 May 2008 08:18:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2008 08:18:18 -0000 Received: (qmail 89736 invoked by uid 500); 4 May 2008 08:18:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 89449 invoked by uid 500); 4 May 2008 08:18:08 -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 89438 invoked by uid 99); 4 May 2008 08:18:08 -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 01:18:08 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.97.136.167] (HELO n064.sc1.he.tucows.com) (64.97.136.167) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 08:17:21 +0000 Received: from sc1-out09.emaildefenseservice.com (64.97.139.2) by n064.sc1.he.tucows.com (7.2.069.1) id 47697705013BCE65 for users@tomcat.apache.org; Sun, 4 May 2008 08:17:33 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,1b7efebcd362453d,d02cbb36a4d11ebd,markt@apache.org,-,RULES_HIT:355:379:599:601:854:967:973:988:989:1187:1260:1261:1277:1311:1313:1314:1345:1358:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1766:1792:2393:2559:2562:2828:3027:3352:3865:3866:3867:3868:3869:3871:3872:3873:3874:4250:5007:6117:6119:7652:7903,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from [192.168.0.100] (unknown [91.109.157.17]) (Authenticated sender: med.thomas) by sc1-out09.emaildefenseservice.com (Postfix) with ESMTP for ; Sun, 4 May 2008 08:17:32 +0000 (UTC) Message-ID: <481D710F.10207@apache.org> Date: Sun, 04 May 2008 09:17:19 +0100 From: Mark Thomas 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> In-Reply-To: <7eeed7f0ea.7f0ea7eeed@noaa.gov> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 --------------------------------------------------------------------- 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