Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 78502 invoked from network); 15 Aug 2007 14:11:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 14:11:42 -0000 Received: (qmail 29572 invoked by uid 500); 15 Aug 2007 14:11:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 29533 invoked by uid 500); 15 Aug 2007 14:11:27 -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 29522 invoked by uid 99); 15 Aug 2007 14:11:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 07:11:27 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=PLING_QUERY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.227.215.170] (HELO chiron.lunarpages.com) (216.227.215.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 14:11:35 +0000 Received: from c-71-230-43-254.hsd1.pa.comcast.net ([71.230.43.254] helo=[192.168.123.6]) by chiron.lunarpages.com with esmtpa (Exim 4.63) (envelope-from ) id 1ILJaL-0004k7-Jv for users@tomcat.apache.org; Wed, 15 Aug 2007 07:10:57 -0700 Message-ID: <46C30960.6090601@omnytex.com> Date: Wed, 15 Aug 2007 10:10:40 -0400 From: "Frank W. Zammetti" User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: ClientAbortException / Broken Pipe?! References: <20070814155725.62a43be0@n428> <19428765.28481187164619396.JavaMail.tomcat@localhost> In-Reply-To: <19428765.28481187164619396.JavaMail.tomcat@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chiron.lunarpages.com X-AntiAbuse: Original Domain - tomcat.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - omnytex.com X-Virus-Checked: Checked by ClamAV on apache.org Ronald Klop wrote: > ClientAbortException means the user canceled the download (the 'client > aborted'). There is nothing you can do about that on the server. Yeah, that's the answer you'll find most frequently if you spend time Googling for that exception, but anecdotally you'll find that more times than not, there's no evidence of the browser being closed or the client aborting (pressing Stop) while a page is loading. There's definitely something else going on in a great many cases, and I'm at least happy to know that I'm not alone in not having found the real answer yet : Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: fzammetti@hotmail.com Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! > > Ronald. > > On Tue Aug 14 15:57:25 CEST 2007 Tomcat Users List > wrote: >> >> Folks; >> >> still messing around with an error like this: In our system, we offer >> customers a service to download files using a servlet. Some weeks ago >> (more or less when I considered switching to tomcat 6.0), the following >> error frequently started to show up in my log files: >> >> ... >> java.net.SocketException: Broken pipe >> at java.net.SocketOutputStream.socketWrite0(Native Method) >> at >> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at >> java.net.SocketOutputStream.write(SocketOutputStream.java:136) at >> org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:537) at >> org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:127) >> at org.apache.jk.core.MsgContext.action(MsgContext.java:302) at >> org.apache.coyote.Response.action(Response.java:183) at >> org.apache.coyote.Response.finish(Response.java:305) at >> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:205) >> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at >> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) >> >> at >> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) >> >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) >> >> at java.lang.Thread.run(Thread.java:619) 14.08.2007 15:38:34 >> org.apache.jk.common.ChannelSocket processConnection WARNUNG: >> processCallbacks status 2 >> ... >> >> >> whereas I see a "ClientAbortException" caught by my applications >> exception handling mechanism. So far, I haven't been able to track this >> down, that's why I am kindly asking you for your skilled advice. >> >> What did I do so far trying to get hold of this: >> >> - Tomcat runs on a machine in the LAN, fronted by an apache2 httpd. >> >> - The error does appear both running tomcat 6.0.13 and 5.5.23. >> >> - I initially was using mod_jk 1.2.29 and switched to mod_proxy and >> Proxy/ProxyReverse setup just to make sure, and the error appears >> no matter whether using mod_jk or mod_proxy. >> >> - Right now, I am using apache2 prefork mpm, played around with >> different mpms just to be sure it's not an error related to apache2 >> itself, but this also didn't really change anything. >> >> - apache2 logging doesn't show any messages whenever such a >> "ClientAbortException" is thrown. >> - Customers, however, reported that whenever such a situation happened, >> the files downloaded were either 0k sized or corrupted. >> >> >> >> And I'm whole-heartedly clueless by now.... :( Is there anything I >> forgot to double-check? Using the latest JDK, no tcnative, running >> Ubuntu Linux 6.06.1. Applied pretty much every solution attempt I could >> come up with using google, including tweaking the HTTP connector setup >> in server.xml, removing tcnative, using mod_proxy instead of mod_jk - >> no success. Does anyone around here have any more ideas on how to get >> hold of this? >> >> Thanks loads in advance and bye, >> Kristian >> >> >> -- >> Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ >> jab: kawazu@jabber.ccc.de * icq: 48874445 * fon: ++49 176 2447 2771 >> "One dreaming alone, it will be only a dream; many dreaming together >> is the beginning of a new reality." (Hundertwasser) >> >> --------------------------------------------------------------------- >> 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 >> > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.19/953 - Release Date: 8/14/2007 5:19 PM --------------------------------------------------------------------- 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