Jump to content
  • 0
Sign in to follow this  
Doctor Pious

Running server error

Question

When I try to run the server and log in I get this error. I am able to login but was wondering what this meant.

Error:
[QUOTE]
[10/9/14 12:13 AM]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Com
munications link failure

The last packet successfully received from the server was 1,412,838,818,095 mill
iseconds ago. The last packet sent successfully to the server was 0 millisecond
s ago.
[10/9/14 12:13 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
0(Native Method)
[10/9/14 12:13 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:57)
[10/9/14 12:13 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newInst
ance(DelegatingConstructorAccessorImpl.java:45)
[10/9/14 12:13 AM]: at java.lang.reflect.Constructor.newInstance(Constructor
.java:526)
[10/9/14 12:13 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
[10/9/14 12:13 AM]: at com.mysql.jdbc.SQLError.createCommunicationsException
(SQLError.java:1074)
[10/9/14 12:13 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionI
mpl.java:2214)
[10/9/14 12:13 AM]: at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.j
ava:773)
[10/9/14 12:13 AM]: at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection
.java:46)
[10/9/14 12:13 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
0(Native Method)
[10/9/14 12:13 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:57)
[10/9/14 12:13 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newInst
ance(DelegatingConstructorAccessorImpl.java:45)
[10/9/14 12:13 AM]: at java.lang.reflect.Constructor.newInstance(Constructor
.java:526)
[10/9/14 12:13 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
[10/9/14 12:13 AM]: at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionI
mpl.java:352)
[10/9/14 12:13 AM]: at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegist
eringDriver.java:282)
[10/9/14 12:13 AM]: at java.sql.DriverManager.getConnection(DriverManager.ja
va:571)
[10/9/14 12:13 AM]: at java.sql.DriverManager.getConnection(DriverManager.ja
va:215)
[10/9/14 12:13 AM]: at server.util.PlayersOnline.createCon(PlayersOnline.jav
a:17)
[10/9/14 12:13 AM]: at server.model.players.Client.initialize(Client.java:61
9)
[10/9/14 12:13 AM]: at server.model.players.PlayerHandler.process(PlayerHand
ler.java:122)
[10/9/14 12:13 AM]: at server.Server.main(Server.java:193)
[10/9/14 12:13 AM]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExc
eption: Communications link failure

The last packet successfully received from the server was 1,412,838,818,094 mill
iseconds ago. The last packet sent successfully to the server was 0 millisecond
s ago.
[10/9/14 12:13 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
0(Native Method)
[10/9/14 12:13 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:57)
[10/9/14 12:13 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newInst
ance(DelegatingConstructorAccessorImpl.java:45)
[10/9/14 12:13 AM]: at java.lang.reflect.Constructor.newInstance(Constructor
.java:526)
[10/9/14 12:13 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
[10/9/14 12:13 AM]: at com.mysql.jdbc.SQLError.createCommunicationsException
(SQLError.java:1074)
[10/9/14 12:13 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
[10/9/14 12:13 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionI
mpl.java:2137)
[10/9/14 12:13 AM]: ... 15 more
[10/9/14 12:13 AM]: Caused by: java.net.UnknownHostException: simplicity-rsps.co
m
[10/9/14 12:13 AM]: at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Me
thod)
[10/9/14 12:13 AM]: at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.
java:901)
[10/9/14 12:13 AM]: at java.net.InetAddress.getAddressesFromNameService(Inet
Address.java:1293)
[10/9/14 12:13 AM]: at java.net.InetAddress.getAllByName0(InetAddress.java:1
246)
[10/9/14 12:13 AM]: at java.net.InetAddress.getAllByName(InetAddress.java:11
62)
[10/9/14 12:13 AM]: at java.net.InetAddress.getAllByName(InetAddress.java:10
98)
[10/9/14 12:13 AM]: at com.mysql.jdbc.StandardSocketFactory.connect(Standard
SocketFactory.java:243)
[10/9/14 12:13 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:290)
[10/9/14 12:13 AM]: ... 16 more
[10/9/14 12:13 AM]: MySQL Error:DELETE FROM `online` WHERE id = 1;
[10/9/14 12:13 AM]: java.lang.NullPointerException
[10/9/14 12:13 AM]: at server.util.PlayersOnline.query(PlayersOnline.java:29
)
[10/9/14 12:13 AM]: at server.util.PlayersOnline.offline(PlayersOnline.java:
50)
[10/9/14 12:13 AM]: at server.model.players.Client.initialize(Client.java:62
0)
[10/9/14 12:13 AM]: at server.model.players.PlayerHandler.process(PlayerHand
ler.java:122)
[10/9/14 12:13 AM]: at server.Server.main(Server.java:193)
[10/9/14 12:13 AM]: java.lang.NullPointerException
[10/9/14 12:13 AM]: at server.util.PlayersOnline.destroyCon(PlayersOnline.ja
va:41)
[10/9/14 12:13 AM]: at server.model.players.Client.initialize(Client.java:62
1)
[10/9/14 12:13 AM]: at server.model.players.PlayerHandler.process(PlayerHand
ler.java:122)
[10/9/14 12:13 AM]: at server.Server.main(Server.java:193)

[/QUOTE]

If you know the issue please respond.

Thank you Edited by Doctor Pious

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
It appears that you try to contact a database, however your server is not able to communicate with it (or fails communication while connected).

Share this post


Link to post
Share on other sites
  • 0
what source are you using?

Share this post


Link to post
Share on other sites
  • 0
[quote name='nawsen']It appears that you try to contact a database, however your server is not able to communicate with it (or fails communication while connected).[/QUOTE]

^ That if you have configured it right, if the database isn't local then make sure you have the ports open correctly, and allow users to connect to it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×