Open
Description
Hello,
I do have an issue with the DB connections fro
50D9
m the c3p0 pool always get aborted after my JUnit tests have completed.
It appears that the "Resource Destroyer in BasicResourcePool.close()"
thread cannot finish its cleanup before the JVM exits.
I prepared a simple project with a single JUnit test to demonstrate the problem: https://github.com/friederici/c3p0_close_poc
Up to c3p0 version 0.9.0.4, there was no seperate cleanup thread and the connections get closed cleanly. Since c3p0 version 0.9.1 (up to the newest version 0.9.5.5) connections do not get closed. MariaDB logs then something like:
Aborted connection 89 to db: 'exampledb' user: 'exampleuser' host: 'localhost' (Got an error reading communication packets)
Metadata
Metadata
Assignees
Labels
No labels