Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommunicationsException DatabaseManager.isPlayerLocked #101

Open
erocs opened this issue Aug 14, 2016 · 0 comments
Open

CommunicationsException DatabaseManager.isPlayerLocked #101

erocs opened this issue Aug 14, 2016 · 0 comments

Comments

@erocs
Copy link
Contributor

erocs commented Aug 14, 2016

[18:28:50 INFO]: [BetterShards] Unable to check lock, exception:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 36,794,377 milliseconds ago. The last packet sent successfully to the server was 36,794,377 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should c
onsider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_91]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_91]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:983) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3644) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2452) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962) ~[spigot.jar:git-Spigot-e0e1771-5e5cf84]
at vg.civcraft.mc.bettershards.database.DatabaseManager.isPlayerLocked(DatabaseManager.java:490) [BetterShards.jar:?]
at vg.civcraft.mc.bettershards.database.DatabaseManager$4.call(DatabaseManager.java:739) [BetterShards.jar:?]
at vg.civcraft.mc.bettershards.database.DatabaseManager$4.call(DatabaseManager.java:732) [BetterShards.jar:?]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant