Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 63808 invoked from network); 19 Jan 2011 20:08:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 20:08:41 -0000 Received: (qmail 59786 invoked by uid 500); 19 Jan 2011 20:08:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 59667 invoked by uid 500); 19 Jan 2011 20:08:37 -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 59658 invoked by uid 99); 19 Jan 2011 20:08:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 20:08:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.90.184.26] (HELO mail.pdinc.us) (67.90.184.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 20:08:29 +0000 Received: from phoenix (162.sub-97-247-255.myvzw.com [97.247.255.162]) (authenticated bits=0) by mail.pdinc.us (8.12.11.20060308/8.12.11) with ESMTP id p0JK85YQ016676 for ; Wed, 19 Jan 2011 15:08:18 -0500 From: "Jason Pyeron" To: "'Tomcat Users List'" References: Subject: RE: Request Line Truncated and Caused 501 Date: Wed, 19 Jan 2011 15:05:29 -0500 Organization: PD Inc Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acu4EuO+a2QxsmzhQym1Ao3oV0LkFwAAJhzw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Yuesong Wang > Sent: Wednesday, January 19, 2011 14:55 > To: users@tomcat.apache.org > Subject: Request Line Truncated and Caused 501 > > Hi, > > I have tomcat 6.0.29 configured using the NIO connector > running on linux. My access log shows strange 501 errors like this: > Does the NIO think it is on windows? > 86.24.156.114 - - [19/Jan/2011:14:41:28 -0500] "eferer: > /static/r07/sh30.html " 501 1235 "-" "-" > 41.203.64.251 - - [19/Jan/2011:14:39:18 -0500] "ET url> HTTP/1.1" 501 1220 "" "Mozilla/4.0 > (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; > GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET > CLR 3.0.30729; Media Center PC 6.0; CPNTDF; .NET4.0C)" > If chomping off the 0x0A when there is none, you could get this. > It seems something went wrong while reading the request, and > a rather random chunk is treated as the request uri. I > thought it had to do with the maxHttpHeaderSize being too > small, and tried to reproduce it but couldn't. I suspect the > http request itself is malformed, but can't be sure because I > can't get to the raw request (RequestDumperValve happens > after the raw request is parsed I think). > > Any idea what the problem may be or how to go about > investigating this? Try using a low level tool like curl to reproduce problems. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org