com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 14,380,298 milliseconds ago. The last packet sent successfully to the server was 14,380,634 milliseconds ago.

Stack Overflow | D.Madu | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

    Oracle Community | 7 years ago | snidely_whiplash
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 28,890,943 milliseconds ago. The last packet sent successfully to the server was 3 milliseconds ago.
  2. 0

    Java c3p0 Pool Disconnects After 5-10 Minutes of Standby

    Stack Overflow | 3 years ago | Zon
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 344 144 milliseconds ago. The last packet sent successfully to the server was 2 milliseconds ago.
  3. 0

    C3p0 and MySql CommunicationsException: Communications link failure

    Stack Overflow | 3 years ago | Ashish Jagtap
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 709,563 milliseconds ago. The last packet sent successfully to the server was 112 milliseconds ago.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MySQL Bugs: #63947: Rollback hangs if OutOfMemoryException was thrown when reading the query results

    mysql.com | 7 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 120 milliseconds ago. The last packet sent successfully to the server was 120 milliseconds ago.
  6. 0

    Hibernate - after some time I am getting JDBCConnectionException in AWS -

    Stack Overflow | 2 years ago | Fahad Mullaji
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure - The last packet successfully received from the server was 28,901,647 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Connection reset by peer: socket write error

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    BufferedOutputStream.flush
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    4. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    5. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    5 frames
  3. MySQL jdbc
    ConnectionImpl.setAutoCommit
    1. com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3725)
    2. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2506)
    3. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
    4. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
    5. com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4842)
    5 frames
  4. Commons DBCP
    PoolingDataSource$PoolGuardConnectionWrapper.setAutoCommit
    1. org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:371)
    2. org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setAutoCommit(PoolingDataSource.java:328)
    2 frames
  5. Unknown
    CreatePO.run
    1. CreatePO.getItemFromDB(CreatePO.java:84)
    2. CreatePO.run(CreatePO.java:53)
    2 frames
  6. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)
    2. java.util.TimerThread.run(Timer.java:505)
    2 frames