paip.提升稳定性---c3p0数据库连接池不能取到连接An attempt by a client to checkout a Connection has timed out 作者Attilax 艾龙, EMAIL:1466519819@qq.com 来源:attilax的专栏 地址:http://blog.csdn.net/attilax 最开始,卡死,不动了,,使用jprofile, thread dump...原来是在getconn()在wait..默认 添加设置 # 当连接池用…
c3p0数据库连接池的配置文件放在eclipse的src目录下,代码就可以识别. c3p0的配置文件的内容如下: <!-- Uncomment and set any of the optional parameters below --> <!-- See c3p0's docs for more info. --> <!--连接池中保留的最大连接数.默认值: 15 --> <property name="maxPoolSize" value…