calling prepareStatement is no longer allowed! Increase reapTimeout to avoid this problem

51 阅读1分钟

异常: 2020-01-09 18:30:48.072 ERROR 10212 — [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: Could not apply work; nested exception is org.hibernate.HibernateException: Could not apply work] with root cause

com.atomikos.jdbc.AtomikosSQLException: Connection pool exhausted - try increasing ‘maxPoolSize’ and/or ‘borrowConnectionTimeout’ on the DataSourceBean.

处理,修改ReapTimeou,调成1000

在这里插入图片描述