I get the following exception for the first request that comes to my server every day: org.skife.jdbi.v2.exceptions.UnableToCloseResourceException: Unable to close Connection. After the first request, any subsequent requests can access the database without any trouble until the next day. I am using jdbi and mysql db.
I get the following exception for the first request that comes to my server
Share
I had to add a
ValidationQuerywhich could beSELECT 1