java c3p0 远程oracle 网络异常后就算网络恢复了还是一直打印关闭的连接

应用正常运行,但偶尔出现一次网络导致远程数据库失败后, 就一直打印这个错误,就算远程数据库正常了还是一直打印这个错误,求大神指点
driverClass=oracle.jdbc.driver.OracleDriver
initialPoolSize=10
minPoolSize=5
maxPoolSize=30
acquireIncrement=3
acquireRetryAttempts=30
acquireRetryDelay=1000
autoCommitOnClose=false
breakAfterAcquireFailure=false
checkoutTimeout=500
idleConnectionTestPeriod=90
maxIdleTime=60
maxStatements=0
maxStatementsPerConnection=0
numHelperThreads=3
preferredTestQuery = select 1 from dual
propertyCycle=300
testConnectionOnCheckout=true
testConnectionOnCheckin=true
这是我的c3p0的配置

sql没有在数据库执行你的连接就断了,你看看自己的代码或者贴出来,什么时间开的连接什么时间关闭的连接
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答