com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Google Groups | jawadhassan soomro | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Logs of XMPP SERVER

    Google Groups | 2 years ago | jawadhassan soomro
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    Root Cause Analysis

    1. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

      Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

      at org.jivesoftware.database.DbConnectionManager.getConnection()
    2. org.jivesoftware.database
      DbConnectionManager.getConnection
      1. org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:152)
      1 frame
    3. org.jivesoftware.openfire
      XMPPServer.<init>
      1. org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:776)
      2. org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:499)
      3. org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:216)
      3 frames
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:379)
      5 frames
    5. org.jivesoftware.openfire
      ServerStarter.main
      1. org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:105)
      2. org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56)
      2 frames