Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 28976 invoked from network); 30 Sep 2003 15:35:31 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Sep 2003 15:35:31 -0000 Received: (qmail 48092 invoked by uid 500); 30 Sep 2003 15:34:50 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 48056 invoked by uid 500); 30 Sep 2003 15:34:50 -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 47980 invoked from network); 30 Sep 2003 15:34:49 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 30 Sep 2003 15:34:49 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by warhawk.mpi.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id h8UFXBF09399 for ; Tue, 30 Sep 2003 11:33:11 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be2.corp.mpi.com [63.244.252.32]) by lightning.mpi.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id h8UFYOph018852 for ; Tue, 30 Sep 2003 11:34:49 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat sucks at receiving large messages Date: Tue, 30 Sep 2003 11:33:44 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8013DF3BA@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat sucks at receiving large messages Thread-Index: AcOHZ8nxoytc1hjKRqyNpTGH26zMhgAAGQvw From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Howdy, Perhaps if you share your servlet which writes the message body to a file, we could help you write a better servlet ;) Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Stewart, Daniel J [mailto:daniel.j.stewart@boeing.com] >Sent: Tuesday, September 30, 2003 11:31 AM >To: tomcat-user@jakarta.apache.org >Subject: Tomcat sucks at receiving large messages > > >When receiving a HTTP 1.0 POST with a 10kbyte payload, my doPost() >method writes the message body to a file. The file is the right size,= >but my data is nulled out (set to 0) after correctly receiving about >2kbytes. > >In frustration, I set the Connector bufferSize parameter to "1000000"= , >to discover that I could now receive about 4kbytes of my 10kbyte >message. I then proceeded to write my own Java server to receive the >message and write it to a file, and it works just fine. > >I am at a loss - can anyone suggest what could be causing this proble= m? > >Vitals: >Tomcat version: 4.1.27 >Tomcat configuration: Out-of-the-box (except for my app's WEB-INF) >OS: solaris 2.9 >My servlet skill level: medium-low > > > >---------------------------------------------------------------------= >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org