DW user group - Even though I have set checkConnectionOnBorrow set to true in my configuration (as was recommended on several forums when I investigated the issue), I am still seeing the following exception in my application:
java.util.concurrent.ExecutionException: org.skife.jdbi.v2.exceptions.UnableToCreateStatementException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. Below is a snippet from the yml being used..are there other recommended settings we should add to prevent the connections closed issue? https://github.com/dropwizard/dropwizard/blob/bb0e6fedecf97ddd2571e8f4800c2b671da2371a/docs/source/manual/configuration.rst Thank you! mySql: database: driverClass: com.mysql.jdbc.Driver url: jdbc:mysql:// properties: charSet: UTF-8 maxWaitForConnection: 1s validationQuery: "/* Health Check */ SELECT 1" minSize: 8 maxSize: 32 checkConnectionWhileIdle: true checkConnectionOnBorrow: true minIdleTime: 4s evictionInterval: 2s -- This email message, including any attachment(s), is intended only for the named recipient(s) and may contain confidential, proprietary or legally privileged information. Unauthorized individuals or entities are not permitted access to this information. Any dissemination, distribution, disclosure, or copying of this information is unauthorized and strictly prohibited. If you have received this message in error, please advise the sender by reply email, and delete this message and any attachments. -- 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.
