Author Topic: [Help Needed]: It looks like you don't have a working JDBC connection.  (Read 2253 times)

cuban_cigar

  • Newbie
  • *
  • Posts: 37
  • Karma: 0
    • View Profile
QM went boom


Error JDBC:-- Inner Exception -- - Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException - Error: - Could not create connection to database server. Attempted reconnect 3 times. Giving up.Stack trace: - com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) - at java.lang.reflect.Constructor.newInstance(Constructor.java:513) - at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) - at com.mysql.jdbc.Util.getInstance(Util.java:386) - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) - at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2237) - at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2158) - at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792) - at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47) - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) - at java.lang.reflect.Constructor.newInstance(Constructor.java:513) - at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) - at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381) - at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) - at java.sql.DriverManager.getConnection(DriverManager.java:582) - at java.sql.DriverManager.getConnection(DriverManager.java:207) - at it.loway.tpf.SQL.openConnection(SQL.java:51) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:549) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:391) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(LowayTransactionController.java:235) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) - at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) - at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) - at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) - at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) - at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) - at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) - at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) - at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) - at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) - at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) - at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) - at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) - at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) - at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) - at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) - at java.lang.Thread.run(Thread.java:662) - Caused by: 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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) - at java.lang.reflect.Constructor.newInstance(Constructor.java:513) - at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) - at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) - at com.mysql.jdbc.MysqlIO.(MysqlIO.java:344) - at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332) - at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2176) - ... 42 more - Caused by: java.net.ConnectException: Connection refused - at java.net.PlainSocketImpl.socketConnect(Native Method) - at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) - at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) - at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) - at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) - at java.net.Socket.connect(Socket.java:529) - at java.net.Socket.connect(Socket.java:478) - at java.net.Socket.(Socket.java:375) - at java.net.Socket.(Socket.java:218) - at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257) - at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294) - ... 44 more - -- End Inner Exception -- - "
« Last Edit: November 03, 2011, 20:49:20 by cuban_cigar »