users@glassfish.java.net

Connection validation / auto reconnect

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 Jul 2008 05:00:46 PDT

Hi,

We're having problems with our glassfish server every time we restart our database. To make our application work after a db restart we need to restart our application server. I've tried to enable connection validation but it doesn't seem to make any difference. What I would like is that if a connect fails all my connections are invalidated and the next request I get will get a new connection.

We use the mysql 5.1.6 jdbc driver.

Thank you!
[Message sent by forum member 'woel' (woel)]

http://forums.java.net/jive/thread.jspa?messageID=284363