You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/11/09 10:10:55 UTC

[Bug 54116] Deadlocks with mysql driver

https://issues.apache.org/bugzilla/show_bug.cgi?id=54116

--- Comment #1 from Patric Rufflar <pa...@rufflar.com> ---
Looks like mysql jdbc driver bug because they use inconsistent locking:

com.mysql.jdbc.ConnectionImpl.close() locks in the following order:

1. com.mysql.jdbc.JDBC4Connection
2. com.mysql.jdbc.JDBC4ResultSet

while com.mysql.jdbc.ResultSetImpl.getString() locks in a reversed order:

1. com.mysql.jdbc.JDBC4ResultSet
2. com.mysql.jdbc.JDBC4Connection

Because I see no jdbc pool classes involved in the locking of these objects I
doubt that jdbc pool is responsible in this deadlock situation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org