INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource

六月 08, 2014 3:07:09 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> ebookstore, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15x92xxn55od3fpkb|1d0942d, idleConnectionTestPeriod -> 0, initialPoolSize -> 20, jdbcUrl -> jdbc:mysql://localhost:3306/ebookstore, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 40, maxStatements -> 0, maxStatementsPerConnection -> 5, minPoolSize -> 10, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]

在eclipse中調試代碼的過程中,出現了上述情況。
從信息中發現,但是並沒有提示是異常信息,而且頁面好像停在某個請求位置,總是過去不去。
我嘗試了一下,mysql的服務,問題解決。

上面的信息中其實有很多的null,false。所以我想到重啓服務。但是是服務爲什麼無故的關掉了,我也很奇怪。
可能是我的電腦上安裝了360吧。
 
補充一下:爲什麼會出現頁面上顯示的請求一直等待?
因爲請求發出之後,對數據的操作,數據操作本身設定了一定的時間,如果在時間範圍內,請求操作會一直嘗試操作數據庫。但過了這個設定的時間以後,可能會報出錯了,和朋友交流後,發現好像得等十分鐘,我就沒去測試了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章