org.hibernate.exception.JDBCConnectionException: Cannot open connection

sencide.com | 5 months ago
  1. 0

    Hibernate X MySql: Cannot open connection - Assuntos Gerais - GUJ

    com.br | 8 months ago
    org.hibernate.exception.JDBCConnectionException: Cannot open connection
  2. 0

    [javasf] Varias unidades persistencia OFF-TOPIC

    Google Groups | 6 years ago | Marcelo p&f
    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.
  3. 0

    Com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure - Assuntos Gerais - GUJ

    com.br | 11 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate Community • View topic - Communications link failure

    hibernate.org | 8 months ago
    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.
  6. 0

    Can't connect to MySQL database with Hibernate (Object Relational Mapping forum at JavaRanch)

    coderanch.com | 12 months ago
    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.

  1. linxiaolong 18 times, last 3 weeks ago
  2. linxiaolong 5 times, last 3 months ago
  3. Kialandei 1 times, last 1 month ago
  4. DoktorDoener666 41 times, last 2 weeks ago
  5. kjhdofjosvs 2 times, last 1 month ago
22 more registered users
65 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. java.net.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. java.net.Socket.<init>(Unknown Source)
    9. java.net.Socket.<init>(Unknown Source)
    9 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
    4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  7. Hibernate
    DriverManagerConnectionProvider.getConnection
    1. org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
    1 frame
  8. Hibernate
    JDBCTransaction.begin
    1. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    2. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    3. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)
    4. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81)
    4 frames
  9. Hibernate
    SessionImpl.beginTransaction
    1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)
    1 frame
  10. com.hib
    Test.main
    1. com.hib.Test.addUser(Test.java:63)
    2. com.hib.Test.main(Test.java:20)
    2 frames