Re: [java ee programming] Lost the database connection after 10 hours in hibernate

2010-02-19 Thread Mihai DINCA
Hi You must look the logs (Tomcat logs, MySQL logs, OS logs ...), maybe there is something there. Tomcat maintain a pool of database connections. I.e. there are some already established permanent connections to the database. It is possible to configure the OS and/or the database (I don't

[java ee programming] Lost the database connection after 10 hours in hibernate

2010-02-18 Thread Madhav Yadav
Hi All, I have a site in which I am using hibernate for the database connection. I am using hibernate3, mysql5, tomcat5. All is working fine for one day but when I open the site next day then it is showing the database connection error. I restart the sever and it is working but next day site