Hi DO community, I ask this question because I have a DockerContainer(Java) -> Droplet(MariaDB) app and sometimes (is not frequent and I haven’t discovered any pattern) receive the warning
WARN com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@d1e1999 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value
And I checked all my code and I’m not executing any query after the close statement (I’m using a Closeable wrapper for the hibernate entity manager).
Thanks in advance
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.