>
> On Wed, Nov 27, 2013 at 5:32 PM, Tomcat Random <tomcat.ran...@gmail.com
> >wrote:
>
> > Everything behaves as expected, except after 600 seconds (10 minutes) all
> > the pooled connections expire. As far as I can tell the default is to not
> > remove/evict pooled connections below 'minIdle' but that's what's
> > happening. The only thing I can find that relates to connection pools and
> > 600 seconds is in JK, but I'm not using that. Any ideas?
> >
>

Hey Alec,

Can it be that connections are timed out on the mysql side?

What does your /etc/my.cnf (or wherever mysql is configured) say about
connections?
What are wait_timeout and interactive_timeout settings in the mysql
configuration file?

(although Tomcat should maintain your pool of connections, with minIdle
number of them at any time)

You can tweak things on the Tomcat side too:
http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html
(see Ch4. Configure Tomcat's Resource Factory)

Good luck!

Reply via email to