I added the below code that should take care of max_user_connection issue on a Production DB (source) spring.datasource.tomcat.test-on-borrow=truespring.datasource.tomcat.max-active=20spring.datasource.tomcat.max-wait=10000 I uploaded a new metrolotto.war. Could you please try deploying again at your convenience? Thank you!