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 ]
...全文
125 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

5,655

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧