tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: java.lang.IllegalStateException: Timer already cancelled
Date Tue, 06 Jul 2010 10:52:56 GMT
2010/7/6 Yevgen Krapiva <ykrapiva@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message