Trying to use Spring Insight w/ tcServer-6.0, but I cannot get my application war to deploy within tcServer.
The same war deploys and runs fine with Tomcat 6.0.20.0.
My app uses c3p0-0.9.1.2.jar with which tcServer seems to be having a problem ..
I see the c3p0 classes getting loaded (in the log as shown below),Code:Exception in thread "Resource Destroyer in BasicResourcePool.close()" java.lang.NoClassDefFoundError: com/mchange/v2/resourcepool/BasicResourcePool$1DestroyResourceTask at com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:980) at com.mchange.v2.resourcepool.BasicResourcePool.access$100(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:1174) Caused by: java.lang.ClassNotFoundException: com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1384) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 3 more
also the class is present in the jarCode:2009-11-04 16:02:35,063 - INFO [main]: MLog clients using log4j logging. 2009-11-04 16:02:35,348 - INFO [main]: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] 2009-11-04 16:02:40,105 - INFO [main]: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1bqtqak841hjvtnb1qeq5mp|129552, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1bqtqak841hjvtnb1qeq5mp|129552, idleConnectionTestPeriod -> 900, initialPoolSize -> 5, jdbcUrl -> ******, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 14400, maxIdleTimeExcessConnections -> 1800, maxPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> select count(*) from menu_info, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
What could be going wrong here ?Code:$ jar tvf WEB-INF/lib/c3p0-0.9.1.2.jar | grep Basic | grep Destr 2009 Mon May 21 15:05:02 EDT 2007 com/mchange/v2/resourcepool/BasicResourcePool$1DestroyResourceTask.class


Reply With Quote
(hence it gave me the impression that it was on shutdown). Thanks for including the timestamp in your message.
Looks like it's a great tool, by the way !