Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
2015-01-10 15:55
736 查看
log4j:WARN No appenders could be found for logger (org.springframework.context.support.ClassPathXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at lee.BeanTest.main(BeanTest.java:26)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
... 2 more
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at lee.BeanTest.main(BeanTest.java:26)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
... 2 more
相关文章推荐
- Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
- Exception in thread "main" java.sql.SQLException: ORA-00923: FROM keyword not found where expected
- java.sql.SQLException: Connections could not be acquired from the underlying database!
- c3p0连接池连接失败:java.sql.SQLException: Connections could not be acquired from the underlying database!
- 关于java.sql.SQLException: Connections could not be acquired from the underlying database!
- java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- c3p0 配置连接MySQL异常: java.sql.SQLException: Connections could not be acquired from the underlying datab
- Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: Io 异常: The Network Ada
- 数据库连接问题之:Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Exception in thread "main" java.sql.SQLException: Access denied for user ''@'localhost' (using passw
- Android错误:项目导入时,出现Exception in thread "main" java.lang.NoClassDef、Could not write file 。。。.classpath
- java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "javamelody jenkins
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- IDEA 14.1.3-import之前的scala项目报错:Exception in thread "main" java.lang.ClassNotFoundException: kmust.hj
- Exception in thread "main" org.hibernate.InvalidMappingException: Could not pars
- 解决Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint