tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Ryder" <>
Subject Tomcat5.5 MySQL14.12 Broken pipe
Date Thu, 07 Oct 2010 03:18:51 GMT
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 the connection 
I have the following:
In server.xml:
<Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="192" minSpareThreads="32" maxSpareThreads="128"
               enableLookups="false" redirectPort="8443" acceptCount="128"
               connectionTimeout="20000" disableUploadTimeout="true" />
In context.xml
<Resource name="jdbc/MySql" auth="Container" type="javax.sql.DataSource"
  password="jsrsys" username="jsrsys"
     maxWait="10000"   maxActive="200"  maxIdle="5"
   removeAbandoned="true" removeAbandonedTimeout="300" logAbandoned="true"
Note that maxWait is 1/2 of connectionTimeout and I have autoReconnect=true.
Any ideas.   This is low priority as users are able to reconnect by just 
pressing Refresh, but I would like this to go away. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message