This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Install v0.6.42. Put some details in the config3. Get epic error
What is the expected output? What do you see instead?A working plugin, I only saw a big error O.o
What version of the product are you using?v0.6.4
Do you have an error log of what happened?Yep ^^
22:05:21 [INFO] [WebAuction] Loading WebAuction v0.6.4.22:05:21 [INFO] [WebAuction] WebAuction is initializing.22:05:21 [INFO] [WebAuction] MySQL Initializing.22:05:22 [SEVERE] [WebAuction] Exception getting mySQL Connection22:05:22 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.22:05:22 [SEVERE] at sun.reflect.GeneratedConstructorAccessor40.newInstance(Unknown Source)22:05:22 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)22:05:22 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source)22:05:22 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)22:05:22 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)22:05:22 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)22:05:22 [SEVERE] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)22:05:22 [SEVERE] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)22:05:22 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)22:05:22 [SEVERE] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)22:05:22 [SEVERE] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)22:05:22 [SEVERE] at sun.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source)22:05:22 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)22:05:22 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source)22:05:22 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)22:05:22 [SEVERE] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)22:05:22 [SEVERE] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)22:05:22 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source)22:05:22 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source)22:05:22 [SEVERE] at me.exote.webauction.MySQLDataQueries.getConnection(MySQLDataQueries.java:46)22:05:22 [SEVERE] at me.exote.webauction.MySQLDataQueries.tableExists(MySQLDataQueries.java:77)22:05:22 [SEVERE] at me.exote.webauction.MySQLDataQueries.initTables(MySQLDataQueries.java:114)22:05:22 [SEVERE] at me.exote.webauction.WebAuction.onEnable(WebAuction.java:76)22:05:22 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)22:05:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)22:05:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)22:05:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)22:05:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)22:05:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:444)22:05:22 [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:188)22:05:22 [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)22:05:22 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)22:05:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)22:05:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)22:05:22 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573)22:05:22 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550)22:05:22 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)22:05:22 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)22:05:22 [SEVERE] Caused by: java.net.ConnectException: Connection refused: connect22:05:22 [SEVERE] at java.net.DualStackPlainSocketImpl.connect0(Native Method)22:05:22 [SEVERE] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)22:05:22 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)22:05:22 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)22:05:22 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source)22:05:22 [SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source)22:05:22 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source)22:05:22 [SEVERE] at java.net.Socket.connect(Unknown Source)22:05:22 [SEVERE] at java.net.Socket.connect(Unknown Source)22:05:22 [SEVERE] at java.net.Socket.<init>(Unknown Source)22:05:22 [SEVERE] at java.net.Socket.<init>(Unknown Source)22:05:22 [SEVERE] at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)22:05:22 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)22:05:22 [SEVERE] ... 32 more22:05:22 [SEVERE] Error occurred while enabling WebAuction v0.6.4 (Is it up to date?): nulljava.lang.NullPointerException at me.exote.webauction.MySQLDataQueries.tableExists(MySQLDataQueries.java:82) at me.exote.webauction.MySQLDataQueries.initTables(MySQLDataQueries.java:114) at me.exote.webauction.WebAuction.onEnable(WebAuction.java:76) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:444) at org.bukkit.Bukkit.reload(Bukkit.java:188) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Please provide any additional information below.
My config file.
MySQL: Host: 188.40.209.182 Username: root Password: s0mep4ssw0RD <-- not the real one obviously Port: '3306' Database: minecraftMisc: ReportSales: false SignDelay: 1000Development: UseMultithreads: falseUpdates: SaleAlertFrequency: 30 ShoutSignUpdateFrequency: 90 RecentSignUpdateFrequency: 160
How is the mysql database hosted? Is it local to your minecraft server? or is it on your web server?
If it is not on your mc server, did you set up remote hosts to allow external servers to connect to it?
Also that config file looks like it is from an older version.
Make sure to get the java and web files off the direct links on the front page if you can, they are far more likely to be up to date.
To post a comment, please login or register a new account.