Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 34239 invoked from network); 1 Mar 2004 11:20:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Mar 2004 11:20:10 -0000 Received: (qmail 2526 invoked by uid 500); 1 Mar 2004 11:19:21 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 2505 invoked by uid 500); 1 Mar 2004 11:19:21 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 2379 invoked from network); 1 Mar 2004 11:19:20 -0000 Received: from unknown (HELO hotmail.com) (64.4.46.20) by daedalus.apache.org with SMTP; 1 Mar 2004 11:19:20 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Mar 2004 03:19:33 -0800 Received: from 128.88.255.34 by bay9-dav48.bay9.hotmail.com with DAV; Mon, 01 Mar 2004 11:19:33 +0000 X-Originating-IP: [128.88.255.34] X-Originating-Email: [abhishes@hotmail.com] X-Sender: abhishes@hotmail.com From: "Abhishek Srivastava" To: "'Struts Users Mailing List'" Subject: RE: Broken pipe problem Date: Mon, 1 Mar 2004 16:54:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040301092855.99587.qmail@web86102.mail.ukl.yahoo.com> Thread-Index: AcP/b8urys/Knf2XS2aKxtF1IeJY7wAD1Hwg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Message-ID: X-OriginalArrivalTime: 01 Mar 2004 11:19:33.0946 (UTC) FILETIME=[12E569A0:01C3FF7F] 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 This exception is harmless exception. You can also ignore it ... If you want to. It doesn't stop weblogic from processing requests. Regards, Abhishek. -----Original Message----- From: Ray [mailto:ray_offiah@yahoo.co.uk] Sent: Monday, March 01, 2004 2:59 PM To: Struts Users Mailing List Subject: Re: Broken pipe problem Thanks .. :-) I'll read up and give it a try ... --- Mohamed.Abdulkhaliq@in.efunds.com wrote: > > Hi this exception will occur in the following situation. > > 1. User uses the Stop, Back and forward button while the browser > waiting for a respond. > 2. He submits 1+ request to the server while the first request is on > the process. > > To avoid that struts has some token mechanism (tokenInValid(), > resetToken()) to implement. So that you can find out and filter the > user action. > > We implemented this, and we are able to reduce this exception, but not > completely > > Thanks > Mohamed Abdul Khaliq.M > IT Specialist > SDC2 - Chennai > Ph 8272628 Ext 8098 > > > > > > ray_offiah@yahoo. > > > co.uk To: > struts-user@jakarta.apache.org > > cc: > > > 02/29/2004 09:58 > Subject: Broken pipe problem > > PM > > > Please respond to > > > "Struts Users > > > Mailing List" > > > > > > > > > > > > > Hi there ... :-) > > I was wondering if someone could help me with a 'broken pipe' error? > > Every so often, my Tomcat server throws out this error. > > ---------------------------------------------------------------------------- -- > > 2004-02-27 09:40:25 - Ctx(/letsco) : Broken pipe in > R( /letsco + /editmail.jsp + null) - > 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.tomcat.modules.server.Ajp13.send(Ajp13.java:841) > at > org.apache.tomcat.modules.server.Ajp13.doWrite(Ajp13.java:727) > at > org.apache.tomcat.modules.server.Ajp13Response.doWrite(Ajp13Interceptor.java :491) > at > org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java:188) > at > org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360) > at > org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:338) > at > org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java: 234) > at > sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:334) > at > sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:402) > at > sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:406) > at > sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:150) > at > java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213) > at > org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:183) > at > org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:126) > at > org.apache.tomcat.core.OutputBuffer.realWriteChars(OutputBuffer.java:337) > at > org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:388) > at > org.apache.tomcat.core.OutputBuffer.flush(OutputBuffer.java:314) > at > org.apache.tomcat.core.OutputBuffer.close(OutputBuffer.java:305) > at > org.apache.tomcat.core.Response.finish(Response.java:271) > at > org.apache.tomcat.modules.server.Ajp13Response.finish(Ajp13Interceptor.java: 483) > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:838) > at > org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Int ercept > or.java:341) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:516) > at java.lang.Thread.run(Thread.java:536) > > ---------------------------------------------------------------------------- -- > > Now I'm told that this is a harmless error caused > when someone shuts down a browser > before Tomcat has finished serving the page. > > I have noticed though, that after a couple of these > happen over a period of a few > weeks, Tomcat crashes. I'm guessing that its some > kind of resource problem. > > I wondered if there was a standard way of handling > this problem through Struts. I > thought about extending the ActionServlet to try and > catch the error; would this be a > good starting point? > > Thanks in advance. > > > Ray > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > struts-user-help@jakarta.apache.org > > > > > > **************************************************************************** ************* > This electronic mail message is intended > solely for the named recipients and may > contain > confidential and proprietary business information > of eFunds Corporation and all its subsidiaries. > If you are not a named recipient, please notify > the sender immediately. You may not disclose the > contents to any other person; use this > electronic mail message or its contents for any > other > purpose; or further store or copy its contents in > any medium > **************************************************************************** ************* > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > struts-user-help@jakarta.apache.org > __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org