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:[EMAIL PROTECTED] 
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 ...

--- [EMAIL PROTECTED] 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
> 
> 
>                                                     
>                                                     
>                              
>                       [EMAIL PROTECTED]             
>                                                     
>                              
>                       co.uk                    To:  
>     [EMAIL PROTECTED]                  
>                              
>                                                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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
>
****************************************************************************
*************
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to