tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yevgen Krapiva <ykrap...@gmail.com>
Subject Re: java.lang.IllegalStateException: Timer already cancelled
Date Tue, 06 Jul 2010 11:04:17 GMT
Thanks, I'll do that.
What about "minEvictableIdleTimeMillis" ? Just delete it ?

2010/7/6 Konstantin Kolinko <knst.kolinko@gmail.com>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message