Thread: Server Disconnecting Constantly

Results 1 to 9 of 9
  1. #1 Server Disconnecting Constantly 
    Registered Member
    Join Date
    Apr 2011
    Posts
    79
    Thanks given
    0
    Thanks received
    1
    Rep Power
    26
    Hey guys my server is constantly disconnecting and it keeps giving me this error message. My server has around 20-50 people online at a time but regardless of how many people online my server is still constantly dcing. This is the following error I get.

    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce p
    tion: Communications link failure

    The last packet successfully received from the server was 1,307,361,650,392 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor2.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2137)
    [6/6/11 8:00 AM]: ... 19 more
    [6/6/11 8:00 AM]: Caused by: java.net.ConnectException: Connection refused: conn
    ect
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.socketConnect(Native Method)

    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.doConnect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.connectToAddress(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.SocksSocketImpl.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.<init>(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.<init>(Unknown Source)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.StandardSocketFactory.connect(Stand ard
    SocketFactory.java:253)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:290)
    [6/6/11 8:00 AM]: ... 20 more
    [6/6/11 8:00 AM]: java.lang.NullPointerException
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:29)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:53)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: java.lang.NullPointerException
    [6/6/11 8:00 AM]: at server.util.SQL.destroyConnection(SQL.java:42)
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:33)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:54)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce ption: Commu
    nications link failure

    The last packet successfully received from the server was 1,307,361,652,470 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor2.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2214)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImp l.j
    ava:773)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connect ion
    .java:46)
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor4.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.getInstance(Connecti onI
    mpl.java:352)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg ist
    eringDriver.java:282)
    [6/6/11 8:00 AM]: at java.sql.DriverManager.getConnection(Unknown Source)
    [6/6/11 8:00 AM]: at java.sql.DriverManager.getConnection(Unknown Source)
    [6/6/11 8:00 AM]: at server.util.SQL.createConnection(SQL.java:17)
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:34)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:54)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce p
    tion: Communications link failure

    The last packet successfully received from the server was 1,307,361,652,470 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor2.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2137)
    [6/6/11 8:00 AM]: ... 19 more
    [6/6/11 8:00 AM]: Caused by: java.net.ConnectException: Connection refused: conn
    ect
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.socketConnect(Native Method)

    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.doConnect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.connectToAddress(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.SocksSocketImpl.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.<init>(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.<init>(Unknown Source)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.StandardSocketFactory.connect(Stand ard
    SocketFactory.java:253)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:290)
    [6/6/11 8:00 AM]: ... 20 more
    [6/6/11 8:00 AM]: java.lang.NullPointerException
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:29)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:54)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: java.lang.NullPointerException
    [6/6/11 8:00 AM]: at server.util.SQL.destroyConnection(SQL.java:42)
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:33)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:55)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce ption: Commu
    nications link failure

    The last packet successfully received from the server was 1,307,361,654,501 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor2.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2214)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImp l.j
    ava:773)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connect ion
    .java:46)
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor4.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.getInstance(Connecti onI
    mpl.java:352)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg ist
    eringDriver.java:282)
    [6/6/11 8:00 AM]: at java.sql.DriverManager.getConnection(Unknown Source)
    [6/6/11 8:00 AM]: at java.sql.DriverManager.getConnection(Unknown Source)
    [6/6/11 8:00 AM]: at server.util.SQL.createConnection(SQL.java:17)
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:34)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:55)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce p
    tion: Communications link failure

    The last packet successfully received from the server was 1,307,361,654,501 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [6/6/11 8:00 AM]: at sun.reflect.GeneratedConstructorAccessor2.newInsta nce
    (Unknown Source)
    [6/6/11 8:00 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(Unknown Source)
    [6/6/11 8:00 AM]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2137)
    [6/6/11 8:00 AM]: ... 19 more
    [6/6/11 8:00 AM]: Caused by: java.net.ConnectException: Connection refused: conn
    ect
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.socketConnect(Native Method)

    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.doConnect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.connectToAddress(Unknown Sou
    rce)
    [6/6/11 8:00 AM]: at java.net.PlainSocketImpl.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.SocksSocketImpl.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.connect(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.<init>(Unknown Source)
    [6/6/11 8:00 AM]: at java.net.Socket.<init>(Unknown Source)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.StandardSocketFactory.connect(Stand ard
    SocketFactory.java:253)
    [6/6/11 8:00 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:290)
    [6/6/11 8:00 AM]: ... 20 more
    [6/6/11 8:00 AM]: java.lang.NullPointerException
    [6/6/11 8:00 AM]: at server.util.SQL.query(SQL.java:29)
    [6/6/11 8:00 AM]: at server.util.SQL.saveHighScore(SQL.java:55)
    [6/6/11 8:00 AM]: at server.model.players.Client.logout(Client.java:996 )
    [6/6/11 8:00 AM]: at server.model.players.packets.ClickingButtons.proce ssP
    acket(ClickingButtons.java:1484)
    [6/6/11 8:00 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:137)
    [6/6/11 8:00 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:1731)
    [6/6/11 8:00 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:141)
    [6/6/11 8:00 AM]: at server.Server.main(Server.java:172)
    [6/6/11 8:00 AM]: Game saved for player zodiac
    [6/6/11 8:00 AM]: [DEREGISTERED]: zodiac
    [6/6/11 8:00 AM]: Game saved for player grokdi
    [6/6/11 8:00 AM]: [DEREGISTERED]: grokdi
    [6/6/11 8:00 AM]: Game saved for player killerteddy
    [6/6/11 8:00 AM]: [DEREGISTERED]: killerteddy
    [6/6/11 8:00 AM]: Game saved for player xatu12321
    [6/6/11 8:00 AM]: [DEREGISTERED]: xatu12321
    [6/6/11 8:00 AM]: Game saved for player fggfgf
    [6/6/11 8:00 AM]: [DEREGISTERED]: fggfgf
    [6/6/11 8:00 AM]: Game saved for player oldy dony
    [6/6/11 8:00 AM]: [DEREGISTERED]: oldy dony
    [6/6/11 8:00 AM]: [REGISTERED]: grokdi
    [6/6/11 8:00 AM]: [REGISTERED]: killerteddy
    [6/6/11 8:00 AM]: [REGISTERED]: zodiac
    [6/6/11 8:00 AM]: [REGISTERED]: hus00waks0yy
    [6/6/11 8:00 AM]: [REGISTERED]: runeruler 55
    [6/6/11 8:00 AM]: [REGISTERED]: oldy dony
    [6/6/11 8:01 AM]: [REGISTERED]: call of duty
    [6/6/11 8:01 AM]: Game saved for player runeruler 55
    [6/6/11 8:01 AM]: [DEREGISTERED]: runeruler 55

    Please help me out.My msn is [email protected] I am also looking for coders so that we can provide a better experience contact me if you are interested. The connection isnt the problem as i am on a 3gb vps with 60mbps upload speed thank you!
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    May 2011
    Posts
    1,239
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    You aren't on MSN, atleast, not for me.
    Reply With Quote  
     

  3. #3  
    I can be your
    Herp Derp's Avatar
    Join Date
    Dec 2010
    Posts
    42
    Thanks given
    0
    Thanks received
    12
    Rep Power
    22
    Add also on your error add spoiler or code tags

    added on msn
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2011
    Posts
    79
    Thanks given
    0
    Thanks received
    1
    Rep Power
    26
    I had to add you but i am online. Still looking for help!
    Reply With Quote  
     

  5. #5 , 
    Banned

    Join Date
    May 2011
    Posts
    1,239
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Sep 2010
    Age
    27
    Posts
    568
    Thanks given
    147
    Thanks received
    202
    Rep Power
    0
    database fails to connect
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Apr 2011
    Posts
    79
    Thanks given
    0
    Thanks received
    1
    Rep Power
    26
    Is that what is causing the disconnects though?
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    May 2011
    Posts
    1,239
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    Any luck?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Oct 2010
    Posts
    560
    Thanks given
    85
    Thanks received
    21
    Rep Power
    16
    just remove the mysql connection or do so it can connect to the database

    Spoiler for Rs3 Account:
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. rune-server logs me out constantly
    By Zahhak in forum Defects
    Replies: 2
    Last Post: 06-01-2011, 09:48 AM
  2. Replies: 4
    Last Post: 12-26-2010, 06:37 PM
  3. [PI] Server keeps disconnecting
    By Throat in forum Help
    Replies: 0
    Last Post: 10-25-2010, 11:33 PM
  4. Replies: 20
    Last Post: 01-06-2009, 06:59 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •