java.sql.SQLException: An attempt by a client to checkout a Connection has timed out
问题 I have a java client server which is supposed to establish connection pool on startup but its failing on timeout error. There are so many threads on this same issue but none of the solutions worked for me AM using jdk 7 and below is the mchange maven dependency <dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.2.1</version> </dependency> jdbc.properties url=jdbc\:sqlserver\://server\\instance;databaseName\=db driver=com.microsoft.sqlserver.jdbc