我们的一个应用程序遇到了一些类似的问题,经过大量挖掘,我们添加了以下属性来解决我们所有的连接问题:
maxAge="180000" testonBorrow="true" testWhileIdle="true"validationInterval="0" //forces the connection pool to validate each time a connection is given to the application

我们的一个应用程序遇到了一些类似的问题,经过大量挖掘,我们添加了以下属性来解决我们所有的连接问题:
maxAge="180000" testonBorrow="true" testWhileIdle="true"validationInterval="0" //forces the connection pool to validate each time a connection is given to the application