Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Pid
On 06/07/2010 11:34, Yevgen Krapiva wrote: > I've tried today the latest driver available - 5.1.13. > I've places the driver to %CATALINA_HOME%/lib. > > I also tried to move it to WEB-INF\lib, but it is appeared that Tomcat > (I'm using 6.0.26) doesn't see > it when trying to create connection fr

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
I've tried today the latest driver available - 5.1.13. I've places the driver to %CATALINA_HOME%/lib. I also tried to move it to WEB-INF\lib, but it is appeared that Tomcat (I'm using 6.0.26) doesn't see it when trying to create connection from a DataSource. He says ClassNotFoundException. I don't

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Pid
On 06/07/2010 08:22, Pid wrote: > On 06/07/2010 08:05, Yevgen Krapiva wrote: >> 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

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Pid
On 06/07/2010 08:05, Yevgen Krapiva wrote: > 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. > The following ex