Hidendra / LWC

Lightweight Protection for Chests, Furnaces, Dispensers, and more for the Minecraft server mod Bukkit
Other
167 stars 123 forks source link

LWC can't connect with mysql. #383

Closed LucasHagen closed 11 years ago

LucasHagen commented 12 years ago

When I start my server, LWC runs normal, after 2-3 hours, this error appears:

16.08 16:42:47 [Server] SEVERE at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 16.08 16:42:47 [Server] SEVERE at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:439) 16.08 16:42:47 [Server] SEVERE at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:330) 16.08 16:42:47 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:260) 16.08 16:42:47 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393) 16.08 16:42:47 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400) 16.08 16:42:47 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:391) 16.08 16:42:47 [Server] SEVERE at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219) 16.08 16:42:47 [Server] SEVERE at com.griefcraft.lwc.LWCPlugin.onDisable(LWCPlugin.java:203) 16.08 16:42:47 [Server] SEVERE at com.griefcraft.lwc.LWC.destruct(LWC.java:539) 16.08 16:42:47 [Server] SEVERE at com.griefcraft.sql.Database.dispose(Database.java:252) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.ConnectionImpl.close(ConnectionImpl.java:1564) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4345) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4751) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.Util.getInstance(Util.java:382) 16.08 16:42:47 [Server] SEVERE at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 16.08 16:42:47 [Server] SEVERE at java.lang.reflect.Constructor.newInstance(Constructor.java:525) 16.08 16:42:47 [Server] SEVERE at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 16.08 16:42:47 [Server] SEVERE at sun.reflect.GeneratedConstructorAccessor136.newInstance(Unknown Source) 16.08 16:42:47 [Server] SEVERE com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.

When I restart my server, it runs normal, some hours later, the same error. I use an online mysql and multicraft painel, I don't no if there is a difference. My LWC is 4.3.0 and I use craftbukkit-R1.0-1.3.1 (recommended). Sorry about my English errors, I am Brazilian.

Thanks, Lucas

Hidendra commented 11 years ago

Hello.

I am bulk closing all old issues as they are either irrelevent or are feature requests that will not see the light of day. At this point the current version of LWC is fairly feature complete and most development efforts are being placed on the rewrite of LWC but bug fixes will of course still be done. If your issue is still relevent please resubmit it.

Thank you.