2010/7/6 Yevgen Krapiva <ykrap...@gmail.com>:
> Hi guys.
>
> I have a servlet that uses connection pool with the use of MySQL driver.
> When I start or reload Tomcat the application works fine, then if I
> redeploy my application it cannot get a connection from a DataSource object.

Do not use eviction in DBCP, because it causes a memory leak.

See
https://issues.apache.org/bugzilla/show_bug.cgi?id=48971
https://issues.apache.org/jira/browse/POOL-161

Remove "timeBetweenEvictionRunsMillis" attribute, or set it to "-1".

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to