title: java.net.SocketException: Broken pipe
body: <p>I get this error or my jsp page every day:</p>
  
  <pre><code>java.net.SocketException
  </code></pre>
  
  <p>MESSAGE: Broken pipe</p>
  
  <p>STACKTRACE:</p>
  
  <pre><code>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 java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
          at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
          at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2637)
          ....
  </code></pre>
  
  <p>After restarting the tomcat service it works fine. (I use hibernate to connect to the mysql database)</p>