javax.xml.ws.soap.SOAPFaultException: Database connection to jdbc:mysql://xxx.xxx.xxx.xxx:3306/mydb failed (user: root): 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. (E54)

Server Fault | Musich87 | 2 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

    virtual machines - Destination Host Unreachable and Communications link failure when I connect to MySQL database using D2RQ library - Server Fault

    serverfault.com | 8 months ago
    javax.xml.ws.soap.SOAPFaultException: Database connection to jdbc:mysql://xxx.xxx.xxx.xxx:3306/mydb failed (user: root): 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. (E54)
  2. 0

    Destination Host Unreachable and Communications link failure when I connect to MySQL database using D2RQ library

    Server Fault | 2 years ago | Musich87
    javax.xml.ws.soap.SOAPFaultException: Database connection to jdbc:mysql://xxx.xxx.xxx.xxx:3306/mydb failed (user: root): 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. (E54)
  3. 0

    Error importing SQL server SQL

    GitHub | 4 years ago | jmvanel
    de.fuberlin.wiwiss.d2rq.D2RQException: Error importing test.sql in line 18: unexpected token: IF (E79)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. de.fuberlin.wiwiss.d2rq.D2RQException

      Database connection to jdbc:mysql://xxx.xxx.xxx.xxx:3306/mydb failed (user: root): 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. (E54)

      at de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.connect()
    2. de.fuberlin.wiwiss
      SystemLoader.openMappingGenerator
      1. de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.connect(ConnectedDB.java:201)
      2. de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.connection(ConnectedDB.java:170)
      3. de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector.<init>(DatabaseSchemaInspector.java:45)
      4. de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.schemaInspector(ConnectedDB.java:243)
      5. de.fuberlin.wiwiss.d2rq.mapgen.MappingGenerator.<init>(MappingGenerator.java:77)
      6. de.fuberlin.wiwiss.d2rq.SystemLoader.openMappingGenerator(SystemLoader.java:224)
      6 frames
    3. Prova
      classprova.methodprova
      1. Prova.classprova.methodprova(classprova.java:70)
      1 frame
    4. WS
      SmartHealth_ws.wsmethod
      1. WS.SmartHealth_ws.wsmethod(myWs.java:249)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    6. JAX-WS RI Runtime Bundle
      WSServlet.doPost
      1. com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
      2. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
      3. com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
      4. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95)
      5. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      6. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      7. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      8. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      9. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
      10. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515)
      11. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
      12. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
      13. com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
      14. com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
      15. com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
      15 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    9. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
      10 frames
    11. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
      5 frames
    12. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    13. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame