C3P0连接oracle时,卡死在这一步 PoolBackedDataSource Initializing c3p0 pool...

松松的 发布于 2015/03/07 11:31
阅读 3K+
收藏 0

Feb 11, 2015 3:10:53 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 1, acquireRetryAttempts -> 5, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 60000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> z8kflt97x5ewop1wj9nma|395ac00b, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt97x5ewop1wj9nma|395ac00b, idleConnectionTestPeriod -> 60, initialPoolSize -> 5, jdbcUrl -> jdbc:oracle:thin:@3.5.116.91:1521:arcgis, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 100, maxStatementsPerConnection -> 1000, minPoolSize -> 3, numHelperThreads -> 10, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]

======有谁碰到过这类问题嘛?我们分析可能是数据库的问题,但是也不知道从数据库的哪个方向找问题,有人知道吗?

加载中
1
☆冰山一角☆

数据库地址,实例,端口,用户名,密码,就这几项呗。你的数据库ip是3.5.116.91?

0
罪恶的花生
罪恶的花生

一个是jar驱动不对,一个是数据连接地址不正确,用标准的jdbc方法测试一下,就知道了。最好对应oracle版本jar包

松松的
这个问题吧,系统运行快一年了,只出现了一次,再也没有复现过,很难定位
返回顶部
顶部