MySQL error #77


  • New
  • Defect
Open
Assigned to _ForgeUser7226032
  • _ForgeUser6898620 created this issue Nov 21, 2013

    Using 1.6, I get these errors on a regular base. After that, mineconomy stops working:
    2013-11-22 14:31:16 [SEVERE] [MineConomy] [ERROR] MySQL Error: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was imp
    licitly closed by the driver.
            at sun.reflect.GeneratedConstructorAccessor204.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
            at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
            at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
            at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2485)
            at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2467)
            at me.mjolnir.mineconomy.internal.MySqlAccounting.reload(MySqlAccounting.java:56)
            at me.mjolnir.mineconomy.internal.MySqlAccounting.save(MySqlAccounting.java:80)
            at me.mjolnir.mineconomy.MineConomy.save(MineConomy.java:444)
            at me.mjolnir.mineconomy.MineConomy$1.run(MineConomy.java:124)
            at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:53)
            at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
            at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:524)
            at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
            at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
            at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
            at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    From what I read this s caused by not using "the Connector/J connection property 'autoReconnect=true''

  • _ForgeUser6898620 added the tags New Defect Nov 21, 2013

To post a comment, please login or register a new account.