Fix connection manager deadlock for purgePolicy=FailingConnectionOnly #14657
Labels
release bug
This bug is present in a released version of Open Liberty
release:200012
team:Zombie Apocalypse
Describe the bug
Need to rework the
com.ibm.ejs.j2c.PoolManager.validateConnections(ManagedConnectionFactory, boolean)
method to prevent connection validation from occurring on a different thread which can lead to a deadlock when purgePolicy=FailingConnectionOnly.Steps to Reproduce
Only happens for purgePolicy=FailingConnectionOnly on fast systems
Expected behavior
Prevent validation from occurring on a connection that may be used on another thread, potentially causing deadlock.
Diagnostic information:
WAS Liberty core 19.0.0.12
JAVA SDK 8.0.6
@rhel 7.4
The text was updated successfully, but these errors were encountered: