Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Pid
orks fine, then if I > >> redeploy my application it cannot get a connection from a > DataSource object. > >> The following exception is thrown: > >> > >> java.lang.IllegalStateException: Timer already cancelled. > >&

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Konstantin Kolinko
2010/7/6 Yevgen Krapiva : > Thanks, I'll do that. > What about "minEvictableIdleTimeMillis" ? Just delete it ? > You can delete it. It is the timeBetweenEvictionRunsMillis attribute that controls whether the Evictor will be enabled. The other attributes make no difference. http://commons.apache.o

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Yevgen Krapiva
Thanks, I'll do that. What about "minEvictableIdleTimeMillis" ? Just delete it ? 2010/7/6 Konstantin Kolinko > 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, the

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Konstantin Kolinko
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, becaus

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Yevgen Krapiva
e, then if I > >> redeploy my application it cannot get a connection from a DataSource > object. > >> The following exception is thrown: > >> > >> java.lang.IllegalStateException: Timer already cancelled. > >> > >> java.util.Time

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Pid
n it cannot get a connection from a DataSource object. >> The following exception is thrown: >> >> java.lang.IllegalStateException: Timer already cancelled. >> >> java.util.Timer.sched(Timer.java:354) >> java.util.Timer.schedule(Timer.java:222) >> or

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Pid
> The following exception is thrown: > > java.lang.IllegalStateException: Timer already cancelled. > > java.util.Timer.sched(Timer.java:354) > java.util.Timer.schedule(Timer.java:222) > org.apache.tomcat.dbcp.pool.impl.Eviction

java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Yevgen Krapiva
: Timer already cancelled. java.util.Timer.sched(Timer.java:354) java.util.Timer.schedule(Timer.java:222) org.apache.tomcat.dbcp.pool.impl.EvictionTimer.schedule(EvictionTimer.java:64) org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.startEvictor(GenericObjectPool.java:1647