users@glassfish.java.net

Re: How to restart a connection pool?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 19 Mar 2010 12:22:49 -0700

You need to enable connection validation in the corresponding pool, and
GlassFish will get new connection(s).

-marina

Xavier Callejas wrote:
> Hi,
>
> If for some reason I need to restart MySQL, the Glassfish connection pool will
> loss connection, how can I restart the pool to continue working witout
> restarting Glassfish?
>
> Can the pool automatically restart itself if it detect the connection is lost?
>
> I'm using Glassfish v3.
>
> Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>