javax.resource.spi.ResourceAllocationException: 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.

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
    javax.resource.spi.ResourceAllocationException: 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.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Re: Sun 8.0.1 Appserver pooling

    db-derby-user | 1 decade ago | Nat Gross
    com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException on 'class com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean'. This occurred while attempting to process a 'command' event for 'pingButton'.

    Root Cause Analysis

    1. javax.resource.spi.ResourceAllocationException

      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.

      at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection()
    2. Embedded GlassFish Web
      DSManagedConnectionFactory.createManagedConnection
      1. com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
      1 frame
    3. Connectors Runtime
      LocalTxConnectorAllocator.createResource
      1. com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
      1 frame