Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 64701 invoked from network); 12 Jul 2005 17:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 17:20:21 -0000 Received: (qmail 38101 invoked by uid 500); 12 Jul 2005 17:20:12 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 37873 invoked by uid 500); 12 Jul 2005 17:20:10 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 37860 invoked by uid 99); 12 Jul 2005 17:20:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 10:20:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.0.86.83] (HELO tango.wilshire.com) (209.0.86.83) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 10:20:07 -0700 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by tango.wilshire.com (8.13.4/8.12.3/Debian-6.6) with ESMTP id j6CHJpGC017461 for ; Tue, 12 Jul 2005 10:19:51 -0700 Received: from bbarkerxp (foundry.wilshire.com [192.168.1.129]) by harpy.wilshire.com (8.12.10/8.12.3) with SMTP id j6CHJpVF017661 for ; Tue, 12 Jul 2005 10:19:51 -0700 (PDT) Message-ID: <005201c58705$367b6590$7037a8c0@nt.wilshire.com> From: "Bill Barker" To: "Tomcat Developers List" References: <42D3F1FC.6050405@Digiconasp.com> Subject: Re: mod_jk 1.2.10 and tomcat 5.5.9 buffer overflow Date: Tue, 12 Jul 2005 10:14:50 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Zantaz-Archived: tango Content-Disposition: inline X-Scanned-By: MIMEDefang 2.52 on 192.168.1.83 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The message is simply that you have a header value that is too big for the AJP/1.3 protocol to handle. If you enable DEBUG logging for org.apache.jk.common.MsgAjp, you should get a dump of the partial data that should include the name of the bad header. ----- Original Message ----- From: "Collin McClendon" To: Sent: Tuesday, July 12, 2005 9:38 AM Subject: mod_jk 1.2.10 and tomcat 5.5.9 buffer overflow > Hello all, > I was kindly redirected to this list by Mr. Turk, the author of mod_jk. > He suggested that someone here might be able to determine > why when using mod_jk and tomcat and apache, I am getting buffer > overflow messages in the catalina.out logfile. This tends to > happen after 8 hours or so, and after users have been visiting the > website, not when idle. I have the relevant portion of the log here: > My mod_jk as stated is 1.2.10, tomcat is 5.5.9, and apache is 2.0.52-12 > (RedHat 4.0ES build). > > SEVERE: Buffer overflow: buffer.len=8192 pos=70 data=18568 > Jun 28, 2005 6:16:21 PM org.apache.jk.common.MsgAjp cpBytes > SEVERE: Overflow > java.lang.Throwable > at org.apache.jk.common.MsgAjp.cpBytes(MsgAjp.java:172) > at org.apache.jk.common.MsgAjp.appendByteChunk(MsgAjp.java:146) > at org.apache.jk.common.MsgAjp.appendBytes(MsgAjp.java:132) > at > org.apache.jk.server.JkCoyoteHandler.appendHead(JkCoyoteHandler.java:407) > at > org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:425) > at org.apache.coyote.Response.action(Response.java:182) > at org.apache.coyote.Response.sendHeaders(Response.java:374) > at > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:317) > at > org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278) > at > org.apache.catalina.connector.Response.finishResponse(Response.java:473) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) > at > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) > at > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) > at > org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) > at java.lang.Thread.run(Thread.java:595) > > I'd appreciate any help you can offer, > Thank you, > Collin McClendon > > -- > Collin McClendon > Sr. Microsoft Systems Engineer > Digicon, Inc. > collin.mcclendon@digiconasp.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > > This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org