Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-18 Thread Steve Ryder
It has been 10 days so I am declaring that Jason's suggestion did indeed solve the problem. Thanks Jason. - Original Message - From: "Steve Ryder" To: "Tomcat Users List" Sent: Thursday, October 07, 2010 10:03 AM Subject: Re: Tomcat5.5 MySQL14.12 java.net.Soc

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-07 Thread Steve Ryder
Thanks Jason. I have added the two parameters. Hopefully I will have seen the last of this error. - Original Message - From: "Jason Britton" To: "Tomcat Users List" Sent: Wednesday, October 06, 2010 11:57 PM Subject: Re: Tomcat5.5 MySQL14.12 java.net.SocketEx

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-06 Thread Jason Britton
To your mysql Resource definition below I would add validationQuery="SELECT 1" That should prevent your application from getting handed stale db connections from your pool. Take a look at the testOnBorrow and validationQuery definitions here http://commons.apache.org/dbcp/configuration.html Jaso

Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-06 Thread Steve Ryder
I am getting this during mysql connection (about once a week). I have read the thread on MySQL forum, which has a "solution", but the link to the solution is broken and points back to the same page. Suggestions have been use autoconnect=true Another was that the server timeout was shorter than t

Re: java.net.SocketException: Broken pipe?

2008-06-26 Thread Filip Hanik - Dev Lists
over and over... What can cause it? Jun 26, 2008 10:28:24 AM org.apache.jk.common.ChannelSocket processConnection WARNING: processCallbacks status 2 Jun 26, 2008 10:28:59 AM org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Broken pipe at

java.net.SocketException: Broken pipe?

2008-06-26 Thread Milan Cvejic
org.apache.jk.core.MsgContext action WARNING: Error sending end packet 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

Re: Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Garth Patil
Thanks Hassan. Windows Media Player actually supports Flash files up to flash version 6. Best, Garth On 6/30/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 6/30/06, Garth Patil <[EMAIL PROTECTED]> wrote: > I'm trying to debug an application that serves small (20-100k) media > files of vario

Re: Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Hassan Schroeder
On 6/30/06, Garth Patil <[EMAIL PROTECTED]> wrote: I'm trying to debug an application that serves small (20-100k) media files of various types (.swf, .wmv) to Windows Media Player (primarily versions 9, 10, 11). The problem I'm experiencing is that I'm seeing a SocketException with about 50% of

Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Garth Patil
e two following log messages: ClientAbortException: java.net.SocketException: Broken pipe ClientAbortException: java.net.SocketException: Connection reset Here is the servlet code that is being run when the exception occurs: FileInputStream in = new FileInputStream(file); OutputStream out = resp.