Grokking Spring Boot
0% completed
Data Sources and Connection Pools
A test of the booking service failed with this exception.
java.sql.SQLTransientConnectionException: HikariPool-2 - Connection is not available, request timed out after 1012ms (total=2, active=2, idle=0, waiting=0)
The database was running the whole time. The message says something narrower. The application had two database connections, and both were in use. A third request for a connection waited about one second and then failed, so the limit was inside the application.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%