Hi Moritz, have you configured a connection provider/pool?
if not hibernate will use its default connection provider that is not intended for production use because it uses only one connection without guarantee that it is/stays open. take a look at c3p0 ... it's a matter of 4-5 lines of config values to configure a connection pool that will keep the connection open in hibernate g, kris Moritz Gmelin <[EMAIL PROTECTED]> 03.10.2008 13:35 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An "users@tapestry.apache.org" <users@tapestry.apache.org> Kopie Thema Recover broken database connection Hi We have a t5 application running using tapestry-hibernate to connect to a sqlserver database. Now the applicationserver (tomcat) and the db Server are separated by ad Firewall that sometimes closes the connection for no reason. This totally Breaks the t5 application with nothing but ad restart of tomcat to help. Is there anything that can be done to handle such a connection breakdown either in configuration or in Code? Thanks Moritz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]