Я получаю следующую ошибку при входе в свое приложение.
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:572)
Недавно мы переместили наше приложение из одной среды в другую, и вчера мы получили указанную выше ошибку. Я исследовал в Интернете, и все предлагают проверить закрытие соединений, но я проверил свой код, и все соединения были правильно закрыты.
Есть ли другая причина, которая может вызвать эту проблему? Нужно ли менять параметры установки оракула в БД? Или любая конфигурация в server.xml будет работать?
Спасибо за вашу помощь.
Alternaitvely there can be many problems with this much details it is hard to tell what is creating the problem.The possible reasons may be 1) Have you copied the DS files and mentioned the correct DS in code?? 2)Some method might not be auto-committing after it is done??
- person NeverGiveUp161   schedule 08.05.2014