users@glassfish.java.net

Restarting Mysql

From: <glassfish_at_javadesktop.org>
Date: Thu, 06 Mar 2008 06:29:13 PST

I have an enterprise application on my glassfish.
This application use a connection pool. (mysql connection pool with default settings).

If I stop and start mysql server, then the application give me a connection error.

I think this problem cause is that the connection allocated in the pool hasn't the corresponding mysql connection anymore.

So, how can avoid the problem without restart glassfish or redeployng the application?
[Message sent by forum member 'peppeme' (peppeme)]

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