java - 使用c3p0时出现一个问题,使得项目老是挂掉、( ˇˍˇ )
ringa_lee
ringa_lee 2017-04-18 10:31:00
0
2
390

框架是spring Struts2 mybatis
报错信息如下

是配置的问题?可是同一套配置在多个不同的平台一起运行着啊,只有其中一个会挂掉、、、

ringa_lee
ringa_lee

ringa_lee

reply all(2)
迷茫

Change the value of jdbc.breakAfterAcquireFailure = true in the configuration to false

黄舟

Is the pressure experienced by each configuration different? Is there a big difference in database configuration? These will all affect the connection pool. I recommend you a connection pool druid that can monitor SQL.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!