Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] EclipseLink 2.1.0 - timeout on idle connections

Hi,

I'm using EclipseLink 2.1.0 + MySql for a web application. Internal
connection pool is used instead of Tomcat maintained pool.
The issue I'm currently facing is that connections in the pool become idle
during the night (when the application is indeed idle).
In the morning the first attempt to use a connection fails, but further
attempts work fine.

I've heard that H3C0 (Hibernate) and other connection pools support a
feature that sends a sort of heartbeat packet to
keep the connection alive so that every connection in the pool does not
timeout (e.g. using the testConnectionOnCheckout
property).

Is it possible to get the same behaviour on EclipseLink in order to avoid
that an idle connection times out ?

Matteo
-- 
View this message in context: http://old.nabble.com/EclipseLink-2.1.0---timeout-on-idle-connections-tp29716715p29716715.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top