tomcat启动时c3p0报错
红茶比茶红 2021-02-18 05:54:16 今天迁移老项目是,启动发现c3p0报错,数据库什么的都没改,求大佬指点
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@5cd1e90f [ co
nnectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@19
cfc335 [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -
> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquir
eFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchang
e.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnor
eUnresolvedTransactions -> false, idleConnectionTestPeriod -> 60, initialPoolSiz
e -> 30, maxIdleTime -> 60, maxPoolSize -> 100, maxStatements -> 0, maxStatement
sPerConnection -> 0, minPoolSize -> 10, nestedDataSource -> com.mchange.v2.c3p0.
DriverManagerDataSource@3664deb4 [ description -> null, driverClass -> com.mysql
.jdbc.Driver, factoryClassLocation -> null, jdbcUrl -> jdbc:mysql://localhost:33
06/som?characterEncoding=gbk&useUnicode=true&autoReconnect=true, properties -> {
user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 3
00, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTra
ditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperTh
reads -> 3, poolOwnerIdentityToken -> 5cd1e90f ]
?????????????
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@67ccd270 [ co
nnectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@77
e4a29e [ acquireIncrement -> 10, acquireRetryAttempts -> 30, acquireRetryDelay -
> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquir
eFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchang
e.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnor
eUnresolvedTransactions -> false, idleConnectionTestPeriod -> 60, initialPoolSiz
e -> 30, maxIdleTime -> 60, maxPoolSize -> 100, maxStatements -> 0, maxStatement
sPerConnection -> 0, minPoolSize -> 10, nestedDataSource -> com.mchange.v2.c3p0.
DriverManagerDataSource@3a5f6638 [ description -> null, driverClass -> com.mysql
.jdbc.Driver, factoryClassLocation -> null, jdbcUrl -> jdbc:mysql://localhost:33
06/som?characterEncoding=gbk&useUnicode=true&autoReconnect=true, properties -> {
user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 3
00, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTra
ditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperTh
reads -> 3, poolOwnerIdentityToken -> 67ccd270 ]