com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f16577f -- Acquisitio

问题描述

[06-2403:24:18,082]INFO[Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@6680e836]STDOUT.log(161)|03:24:18,081WARN[BasicResourcePool]com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f16577f--AcquisitionAttemptFailed!!!Clearingpendingacquires.Whiletryingtoacquireaneedednewresource,wefailedtosucceedmorethanthemaximumnumberofallowedacquisitionattempts(30).Lastacquisitionattemptexception:java.sql.SQLException:Io异常:TheNetworkAdaptercouldnotestablishtheconnectionatoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:147)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:257)atoracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:389)atoracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:454)atoracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)atoracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)atcom.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)atcom.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)atcom.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)atcom.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)atcom.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)atcom.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)atcom.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)atcom.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)[06-2403:24:18,081]WARN[Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@6680e836]BasicResourcePool.run(1841)|com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f16577f--AcquisitionAttemptFailed!!!Clearingpendingacquires.Whiletryingtoacquireaneedednewresource,wefailedtosucceedmorethanthemaximumnumberofallowedacquisitionattempts(30).Lastacquisitionattemptexception:java.sql.SQLException:Io异常:TheNetworkAdaptercouldnotestablishtheconnectionatoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:147)atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:257)atoracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:389)atoracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:454)atoracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)atoracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)atcom.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)atcom.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)atcom.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)atcom.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)atcom.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)atcom.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)atcom.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)atcom.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)急速能看看什么错误么在线等

解决方案

解决方案二:
oracle驱动版本不对?
解决方案三:
1.首先看看你的服务是否启动。2.查看一下你的jar包是否有问题3.然后看看你的oracle的驱动是否正常加载还不行就去百度查询TheNetworkAdaptercouldnotestablishtheconnection这个错

时间: 2024-09-28 18:06:19

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f16577f -- Acquisitio的相关文章

tomcat应用报错-com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea d-#1&amp;amp;quot;

问题描述 com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea d-#1" TITLE29_ from HOMEPAGE_MESSAGE homepageme0_ where 1=1 and (homepageme0_.DRAFT is null) and (exists (select homepageme1_.id from HOMEPAGE_MESSAGE_RECVER homepage me1_ where homepag

数据源配置-使用com.mchange.v2.c3p0.ComboPooledDataSource配置数据源

问题描述 使用com.mchange.v2.c3p0.ComboPooledDataSource配置数据源 为什么使用com.mchange.v2.c3p0.ComboPooledDataSource配置数据源, bean的id只能为dataSource,我将id改成dataSource2之后就报错: Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'dataSource2'

tomcat启动报错-SSH + Oracle 整合开发 启动服务报错,运行查询操作,没影响

问题描述 SSH + Oracle 整合开发 启动服务报错,运行查询操作,没影响 信息: Initializing Spring root WebApplicationContextlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:WARN Please initialize the log4j system properly.2013-1

项目启动报oracle错-项目启动报错,在网上查了好多资料还是为解决,求高手帮忙

问题描述 项目启动报错,在网上查了好多资料还是为解决,求高手帮忙 [14:22:13] [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] WARN - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@11765ae -- Acquisition Attempt Failed!!! Clearing pending acquires. While t

jdbc pring-c3p0连接线程中断,求高手指教,在线等

问题描述 c3p0连接线程中断,求高手指教,在线等 [ts-merchant-bill-dbfix-job]2015-03-07 19:37:21,617 INFO [com.mchange.v2.log.MLog] MLog clients using log4j logging. [ts-merchant-bill-dbfix-job]2015-03-07 19:37:21,650 INFO [com.mchange.v2.c3p0.C3P0Registry] Initializing c3

spring2.5,c3p0,hibernate3.2环境下 更新驱动后数据库连接报错

问题描述 环境运行一直没有问题,不过以前用的驱动不支持JDK1.6所以 下载了最新的驱动程序sqljdbc_4.0 用了其中的 sqljdbc4.jar因为数据库是windows验证所以WEB-INFlib  下面也放了sqljdbc_auth.dll  文件 applicationContext.mxl配置文件如下<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" d

用SSH框架出现的问题

问题描述 java.lang.InterruptedException: sleep interruptedat java.lang.Thread.sleep(Native Method)at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread

求高手解决!! quartz 定时器初始化异常!!!

问题描述 解决方案二: 解决方案三: 解决方案四: 解决方案五: 解决方案六: 解决方案七:配置代码:<beanid="methodInvokingJobDetail"class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"><propertyname="targetObject"><refbean="t

native-tomcat启动报错问题,求大神帮忙

问题描述 tomcat启动报错问题,求大神帮忙 Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@189b939 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2) com.mchange.v2.resourcepool.BasicResourcePo