atomikos / transactions-essentials

Development repository for next major release of
https://www.atomikos.com/Main/TransactionsEssentials
Other
461 stars 139 forks source link

Memory leak with Atomikos 6 and Hibernate 6.4.4.Final #209

Open danshome opened 7 months ago

danshome commented 7 months ago

Describe the bug Hibernate 6.2.9.Final works fine, but if you upgrade to Hibernate 6.4.4.Final and stop your application you will see a leaked Atomikos thread. This causes hot deployment issues on Windows because the tm lock has a file lock.

To Reproduce Steps to reproduce the behavior:

Build an app using Atomikos 6 and Hibernate 6.4.4.Final, deploy to Tomcat 10.1.19, undeploy, click the Find Leaks button in the Tomcat Manager. If you do the same steps using Hibernate 6.2.9.Final there is no leak.

Additional context No.