Configured the JDBC pool using BoneCP 0.8.0 to prevent the DB from timing out and causing SQLExceptions.