Steve
Steve Bate wrote:
"Steven Citron-Pousty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
I think this is a mysql issue. Two clues as to how you should set things up 1) you need to set autoreconnect to true for MySQL in the url. Please see
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
and look at the MySQL example, specifically, <parameter> <name>url</name>
<value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value> </parameter> ...
My application sets autoReconnect=true. It was recently converted to Hibernate/DBCP from another O/R mapping engine. The autoReconnect option was set to true in both versions of the application and only the Hibernate/DBCP implementation has the connection timeout exceptions.
Steve
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel