com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 1,252,319,692,146 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.

coderanch.com | 4 months ago
  1. 0

    com.mysql.jdbc.exceptions.jdbc4.communicationsexception communications link failure (JDBC and Relational Databases forum at Coderanch)

    coderanch.com | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 1,252,319,692,146 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
  2. 0

    Database connection timeouts not configured correctly

    GitHub | 2 years ago | jbcpollak
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 349,959 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
  3. 0

    Database connection gets dropped

    GitHub | 3 years ago | tgrez
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 65,028,684 milliseconds ago. The last packet sent successfully to the server was 65,028,686 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception during keep alive check

    GitHub | 3 years ago | virtyvoid
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 746,568 milliseconds ago. The last packet sent successfully to the server was 2 milliseconds ago.
  6. 0

    Is there any free GPS Simulator supported by traccar?

    GitHub | 3 years ago | mikeandersun
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure||The last packet successfully received from the server was 37,854,262 milliseconds ago. The last packet sent successfully to the server was 2 milliseconds ago.

  1. linxiaolong 2 times, last 3 weeks ago
  2. fima 28 times, last 2 months ago
  3. kuldeep 2 times, last 2 months ago
  4. mauritius 2 times, last 2 months ago
  5. tvrmsmith 2 times, last 3 months ago
7 more registered users
5 unregistered visitors
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. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

    The driver was unable to create a connection due to an inability to establish the client portion of a socket. This is usually caused by a limit on the number of sockets imposed by the operating system. This limit is usually configurable. For Unix-based platforms, see the manual page for the 'ulimit' command. Kernel or system reconfiguration may also be required. For Windows-based platforms, see Microsoft Knowledge Base Article 196271 (Q196271).

    at sun.reflect.GeneratedConstructorAccessor10.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor10.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    3. java.lang.reflect.Constructor.newInstance(Unknown Source)
    3 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    3. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
    4. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137)
    5. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
    6. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    6 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    3. java.lang.reflect.Constructor.newInstance(Unknown Source)
    3 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  7. com.bt
    MainProcessCall.main
    1. com.bt.LibraryDataProvider.compareUsingLibrary(LibraryDataProvider.java:27)
    2. com.bt.CSVFileProcessor.CompareAndWriteToFile(CSVFileProcessor.java:472)
    3. com.bt.CSVFileProcessor.processBufferData(CSVFileProcessor.java:428)
    4. com.bt.CSVFileProcessor.recognitionEngine(CSVFileProcessor.java:83)
    5. com.bt.MainProcessCall.main(MainProcessCall.java:12)
    5 frames