java.net.SocketException: Broken pipe

后端 未结 2 846
再見小時候
再見小時候 2021-02-14 20:25

I get this error or my jsp page every day:

java.net.SocketException

MESSAGE: Broken pipe

STACKTRACE:

java.net.SocketExc         


        
2条回答
  •  心在旅途
    2021-02-14 21:15

    Looks like you (partially) loose the connection to your database. MySQL tries to send something but the connection is lost.

    Another mysql/tomcat user who reported a similiar problem, was adviced to use a connection pool, like c3p0. The user replied that he wanted to use the Mysql/tomcat connection pooling first as described in mysqls reference manual.

    This is original post (german language).

提交回复
热议问题