Tmcate 释放数据库连接让tomcat自己来释放连接,在tomcat的安装目录下面的/conf/context.xml文件的Resource节点里面加入如下语句,问题解决: removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true" validationQuery="select 1 from dual" testOnBorrow="true" 相关文章: 2022-02-16 2021-07-08 2021-12-30 2022-12-23 2022-12-23 2021-10-06 2021-11-11 2021-05-17