c3p0 has the facilities to automatically test your pooled connections
to make sure they haven't been disconnected or it can just expire
connections that haven't been used for X amount of time.  See the
configuration page here: http://www.mchange.com/projects/c3p0/index.html
and hibernate's here: http://www.hibernate.org/214.html

On Feb 18, 4:16 am, bond <[email protected]> wrote:
> Hi,
> I've a problem with GWT 1.5.3, Gilead, Hibernate 3 & Mysql 5. The
> problem is the same of many others people and is about the timeout of
> connections to the database that are closed after some hours.
> In particular after some hours when I try to list data on my
> application is raised this error:
> 09:12:38,104  WARN JDBCExceptionReporter:100 - SQL Error: 0, SQLState:
> 08S01
> 09:12:38,104 ERROR JDBCExceptionReporter:101 - Communications link
> failure
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to