As suggested by @Luiggi Mendoza in above comments:
Change all DB property (describe below) value to 10 :
- DbInitialSize
- DbMaxActive
- DbMaxIdle
- DbMaxWait
Domanda
I am using below env:
Facing below exception all the time when trying to connect with DB:
Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Error preloading the connection pool
Please help.
Soluzione
As suggested by @Luiggi Mendoza in above comments:
Change all DB property (describe below) value to 10 :