Hi everybody,
I'm a newbye in using hibernate, so I beg you pardon in the question is dummy :).
I'm using tomcat4 with mysql, and, of course, hibernate. I open and close the hibernate session with a filter, using a modified version of the filter published on the mailing list a couple of weeks ago. Everything seems fine, i've also made some stress tests with jmeter and my application serves 50 clients simultaneous with no problem. What happens is that after a certain number of hours of no-use of the application I get a "Communication link failure: java.io.IOException": I think that mysql closes the connection, but I don't know how to tell hibernate to reopen the connession if closed.
Which is the best way to solve this problem.


Thanks in advance!

Enrico




------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel



Reply via email to