java.sql.SQLException: Erreur lors de l'allocation d'une connexion. Cause : Connection could not be allocated because: 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. Error Code: 0

Oracle Community | Olivier Chorier Guest | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JDBC Pool unavailable induce failed deployment

    Oracle Community | 4 years ago | Olivier Chorier Guest
    java.sql.SQLException: Erreur lors de l'allocation d'une connexion. Cause : Connection could not be allocated because: 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. Error Code: 0
  2. 0

    Oracle Firstcup tutorial (firstcup-war)

    Stack Overflow | 3 years ago | user3557759
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Error Code: 0
  3. 0

    Firstcup-war tutorial

    Oracle Community | 3 years ago | nye'e
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Error Code: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.sql.SQLException

      Erreur lors de l'allocation d'une connexion. Cause : Connection could not be allocated because: 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. Error Code: 0

      at org.eclipse.persistence.exceptions.DatabaseException.sqlException()
    2. EclipseLink (non-OSGi)
      JNDIConnector.connect
      1. org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
      2. org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
      2 frames