[CONJ-682] java.sql.SQLNonTransientConnectionException: No connection available within the specified time Created: 2019-02-08 Updated: 2020-12-10 Resolved: 2019-03-05 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 2.4.0 |
| Fix Version/s: | 1.7.6, 2.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vaclav Havlik | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 8. java-8-openjdk-amd64. |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
After wait_timeout expires, server sends TCP RST to all TCP connections. Then JDBC tries to create another TCP connection, which seems successful, but for some reason JDBC closes this new TCP connection immediately. I use Maven artifact Then MariaDbPoolDataSource.getConnection() throws What is strange - When I step through in debugger, then it works. To reproduce: 2. 3. Thank you. |
| Comments |
| Comment by Vaclav Havlik [ 2019-02-11 ] |
|
Event if I do ds.setLoginTimeout(50000); then it fails the same, with message |
| Comment by Diego Dupin [ 2019-02-14 ] |
|
reproduced. |