MySQL seems to have an 8 hour time out on its connections. I\'m running multiple WARs in Tomcat utilizing Hibernate for ORM. After 8 hours (i.e. overnight), I get broken pip
There are two things going on here. You should read this article for more details, but the take-aways are:
hibernate.c3p0.idle_test_period instead of just c3p0.idle_test_period