Jump to content
  • 0

How Do I Fix This Error?


Question

Posted (edited)
Loading GameServer[local.properties] Configuration Files...

Loaded 1 Filter Words.

Loaded 26 Foreign Keywords.

-----------------------------------------------------------------=[ Database ]

2871 [boneCP-pool-watch-thread] ERROR com.jolbox.bonecp.ConnectionHandle - Faile

d to acquire connection. Sleeping for 3000ms. Attempts left: 5

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai

lure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driv

er has not received any packets from the server.

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)

        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1

116)

        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)

        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)

        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2

371)

        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)

        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)

        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)

        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)

        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java

:305)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:230)

 

        at com.jolbox.bonecp.ConnectionHandle.obtainInternalConnection(Connectio

nHandle.java:197)

        at com.jolbox.bonecp.ConnectionHandle.<init>(ConnectionHandle.java:154)

        at com.jolbox.bonecp.PoolWatchThread.fillConnections(PoolWatchThread.jav

a:121)

        at com.jolbox.bonecp.PoolWatchThread.run(PoolWatchThread.java:102)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Caused by: java.net.UnknownHostException: localhost_3306

        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

        at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)

        at java.net.InetAddress.getAddressesFromNameService(Unknown Source)

        at java.net.InetAddress.getAllByName0(Unknown Source)

        at java.net.InetAddress.getAllByName(Unknown Source)

        at java.net.InetAddress.getAllByName(Unknown Source)

        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja

va:244)

        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)

        ... 22 more

5897 [boneCP-pool-watch-thread] ERROR com.jolbox.bonecp.ConnectionHandle - Faile

d to acquire connection. Sleeping for 3000ms. Attempts left: 4

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai

lure

 

The last packet sent successfully to the server was 0 milliseconds ago. The driv

er has not received any packets from the server.

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)

        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1

116)

        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)

        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)

        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2

371)

        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)

        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)

        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)

        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)

        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java

:305)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:230)

 

        at com.jolbox.bonecp.ConnectionHandle.obtainInternalConnection(Connectio

nHandle.java:197)

        at com.jolbox.bonecp.ConnectionHandle.<init>(ConnectionHandle.java:154)

        at com.jolbox.bonecp.PoolWatchThread.fillConnections(PoolWatchThread.jav

a:121)

        at com.jolbox.bonecp.PoolWatchThread.run(PoolWatchThread.java:102)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Caused by: java.net.UnknownHostException: localhost_3306

        at java.net.InetAddress.getAllByName0(Unknown Source)

        at java.net.InetAddress.getAllByName(Unknown Source)

        at java.net.InetAddress.getAllByName(Unknown Source)

        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja

va:244)

        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)

        ... 22 more

 

Edited by luthy1337

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...