How to disable JSR 250 annotations processor ?

2011-02-25 Thread Yevgen Krapiva
Hi. I have a problem deploying Spring based application to Tomcat 6.0.26 / 7.0.0. Some of my beans have @PostConstruct annotated methods. Like: @PostConstruct public void init() { ... } The problem is that these methods called twice - first time by Tomcat annotation processor, second time - by

java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread 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. The following exception is thrown: java.lang.IllegalStateException:

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Yevgen Krapiva
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

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 knst.koli...@gmail.com 2010/7/6 Yevgen Krapiva ykrap...@gmail.com: Hi guys. I have a servlet that uses connection pool with the use of MySQL driver. When I start or reload Tomcat