commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Muhlestein <>
Subject jdbcpool
Date Mon, 03 Jun 2002 21:20:48 GMT
I'm using the commons-pool, commons-dbcp to connect to mysql from tomcat
4.  Everything works fine when I develop but if I leave the site
unattened for a period of time, mysql times out the connections in the

I'd really like to set the maxIdle parameter to 0 so that if there are
idle connections they leave the pool.  Basically setting the min pool
size to 0 is what I want to do.  I haven't seen a minPoolSize parameter

The documentation says if I set maxIdle to 0 that means unlimited.  That
won't work I guess.  Is there a solution to this problem?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message