- Could not get JDBC Connection; nested exception is java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource poolorg.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool
經(jīng)Google大神裁示,,應(yīng)該再加以下的property,,特別是false的部份。 <property name="acquireRetryAttempts"> <value>30</value> </property> <property name="acquireRetryDelay"> <value>100</value> </property> <property name="breakAfterAcquireFailure"> <value>false</value> </property>
|