3

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.

Durandal
  • 5,575
  • 5
  • 35
  • 49
FSP
  • 4,677
  • 2
  • 19
  • 19

1 Answers1

1

I had to add a ValidationQuery which could be SELECT 1

sra
  • 23,820
  • 7
  • 55
  • 89
FSP
  • 4,677
  • 2
  • 19
  • 19