Bug #4770 | Java JDBC driver has dead lock | ||
---|---|---|---|
Submitted: | 27 Jul 2004 16:57 | Modified: | 27 Jul 2004 17:39 |
Reporter: | v d | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S1 (Critical) |
Version: | mysql-connector-java-3.0.14 | OS: | Windows (MS windows) |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
[27 Jul 2004 16:57]
v d
[27 Jul 2004 17:34]
Mark Matthews
This is most likely not deadlock. The JDBC driver uses the standard TCP/IP socket timeout which can be up to 15 minutes on some platforms when the network has been interrupted (depending on _when_ the network went down and what 'state' your TCP/IP connection was in will determine when the network layer of your operating system detects the connection has 'died'). If you need a connection to fail 'sooner' than that when the network has been interrupted, you need to set the 'socketTimeout' property as documented at http://dev.mysql.com/doc/connector/j/en/index.html#id2801179
[27 Jul 2004 17:39]
Mark Matthews
This is most likely not deadlock. The JDBC driver uses the standard TCP/IP socket timeout which can be up to 15 minutes on some platforms when the network has been interrupted (depending on _when_ the network went down and what 'state' your TCP/IP connection was in will determine when the network layer of your operating system detects the connection has 'died'). If you need a connection to fail 'sooner' than that when the network has been interrupted, you need to set the 'socketTimeout' property as documented at http://dev.mysql.com/doc/connector/j/en/index.html#id2801179