tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: java.lang.IllegalStateException: Timer already cancelled
Date Tue, 06 Jul 2010 10:52:56 GMT
2010/7/6 Yevgen Krapiva <>:
> 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.


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

Best regards,
Konstantin Kolinko

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

View raw message