users@glassfish.java.net

Re: GlassFish 3.1 - Connection could not be allocated ...

From: <forums_at_java.net>
Date: Wed, 11 Sep 2013 04:20:06 -0500 (CDT)

Hey, the problem could be with wait_times. mysql is closing idle connections
without any information for any clients. so you have to set the idle timeout
time in glassfish jdbc pool to a lower value than the value in my.cnf ->
wait_time for mysql. thus glassfish can properly shut down the connections
before mysql is killing them ;)

--
[Message sent by forum member 'Yser']
View Post: http://forums.java.net/node/898505