com.atomikos.jdbc.AtomikosSQLException: Connection pool exhausted

旧街凉风 提交于 2020-01-13 18:43:56

异常: 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.

 

解决: spring.jta.atomikos.datasource.max-pool-size=10

spring.jta.atomikos.datasource.borrow-connection-timeout=10000

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!