Hi,

I can recommend setting the maxConnectionAge parameter. I believe  MySQL drops 
open TCP connections on the server side after several hours.
If the backend does so, the client may not detect that the connection is 
broken. You could try to avoid that by closing the connection on the client 
side after some period which is less than the server one. For example, you 
could try to set it to 30 minutes and check if the exception still occurs.

Artem

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to