Connection Timeout under Hibernate
Posted by: Joe Cross
Date: November 18, 2004 05:18PM

I'm using Hibernate to interface my Java-based Tomcat application to mySQL. I'm having a problem where the connection between Tomcat and mySQL gets dropped after a period of inactivity (a few days). I've set "interactive_timeout" and "wait_timeout" to 604800 (the max, I think), but it still happens.

Is there a way for me to configure Tomcat to maintain the connection indefinitely or re-establish the connection automatically?

Thanks,
Joe Cross

Options: ReplyQuote


Subject
Written By
Posted
Connection Timeout under Hibernate
November 18, 2004 05:18PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.