I keep getting this exception in my Tomcat log:
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
WARNING: com.mchange.v2.async.ThreadPoolAs
Got a similar error like this before.
It could also be caused by database server blocking your IP. Make sure your servers' IP are not blocked by the database server/cloud provider.
In my case, was trying to insert data to the database in the cloud with multithreading, and it only works on the local, but not on a server (on a different network).