atomikos/transactions-essentials

Memory leak with Atomikos 6 and Hibernate 6.4.4.Final

danshome opened this issue · 0 comments

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.