Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 69855 invoked from network); 25 Jan 2005 19:38:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jan 2005 19:38:50 -0000 Received: (qmail 64007 invoked by uid 500); 25 Jan 2005 19:38:32 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 63986 invoked by uid 500); 25 Jan 2005 19:38:32 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 63973 invoked by uid 99); 25 Jan 2005 19:38:31 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from pop-a065d05.pas.sa.earthlink.net (HELO pop-a065d05.pas.sa.earthlink.net) (207.217.121.249) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 25 Jan 2005 11:38:30 -0800 Received: from 1cust242.tnt3.barrie.on.da.uu.net ([66.48.153.242] helo=andrzej) by pop-a065d05.pas.sa.earthlink.net with esmtp (Exim 3.33 #1) id 1CtWWB-0001UQ-00 for tomcat-user@jakarta.apache.org; Tue, 25 Jan 2005 11:38:28 -0800 From: "Andrzej Jan Taramina" Organization: Chaeron Corporation To: tomcat-user@jakarta.apache.org Date: Tue, 25 Jan 2005 14:37:23 -0500 MIME-Version: 1.0 Subject: Long running requests and timeouts? Reply-to: andrzej@chaeron.com Message-ID: <41F659A3.2322.3DF8E516@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have a situation where some requests that get sent to Tomcat are very long running (basically batch operations). I've been testing with a request that takes just over 7 minutes to process and returns and XML document as a response. The problem I'm having is that the response gets truncated. It's always truncated at a consistent spot. It always sends back exactly 3207 characters in the response body and this is consistent using Firefox or a commons- httpClient based script. Shorter running requests don't truncate anything, regardless of how long the response might be. I'm running Tomcat 5.0.28 and my Connector in the Tomcat server.xml file looks like: I've tried all sorts of timeout values in the above....including zero values, but the behaviour is consistent. Long running invocations truncate the response body to 3207 characters. I've also tried changing the client side timeout values, but again, to no avail. I'm kinda stumped as to what might cause this, especially given the very consistent response body length that is always returned. Almost seems like some strange buffering issue that is timer-related. Any ideas? Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org