WARN [main] JDBCExceptionReporter.logExceptions(233) | SQL Error: 0, SQLState: null
ERROR [main] JDBCExceptionReporter.logExceptions(234) | Cannot create PoolableConnectionFactory (Connection timed out: connect)
WARN [main] SettingsFactory.buildSettings(147) | Could not obtain connection to query metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection timed out: connect)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:114)
SSH启动tomcat报错Cannot create PoolableConnectionFactory,项目过段时间想启动下结果就报这错了。、
答案:2 悬赏:60 手机版
解决时间 2021-02-12 03:42
- 提问者网友:浮克旳回音
- 2021-02-12 00:21
最佳答案
- 五星知识达人网友:罪歌
- 2021-02-12 01:21
这错应该是:数据库连接没有被关闭
全部回答
- 1楼网友:零点过十分
- 2021-02-12 02:36
搜一下:SSH启动tomcat报错Cannot create PoolableConnectionFactory,项目过段时间想启动下结果就报这错了。、
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯