[INACTIVE][ADMN/SEC/WEB] DataLog - replaced by HawkEye [1000]

Discussion in 'Inactive/Unsupported Plugins' started by oliverw92, Apr 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    oliverw92

    Vaupell, Pinkpixels, Sleaker and 2 others like this.
  2. Offline

    Drakonas

    I am using MySQL with your plugin/persistence successfully. I do not get this error in the log. Also, I know your plugin is working with MySQL because things are showing up in the database on the web interface you provided.

    melvinp, Try changing your MySQL url in bukkit.yml to this:
    Code:
    url: jdbc:mysql://95.170.70.229:3306/runeplace_nl_runepla
    Also, with java, using localhost as the url won't work on some VPS's, as they are virtual machines. Some virtual machine setups have issues with using localhost. Use your external IP (like t95.170.70.229) instead, in this case.

    LAstly, make sure runeplace_nl_runepla is the name of your database.
     
  3. Offline

    oliverw92

    OK i might have been failing massively. I thought that it didn't matter not having the ebean.properties file.

    People who have MySQL on a remote host, please try making an empty file in your bukkit directory (NOT plugin directory) called 'ebean.properties'. Just make one in text edit. It doesn't have to have anything in it. Let me know if that fixes anything.
     
  4. Offline

    Drakonas

    I never had problems to begin with, but the [SEVERE] notice is gone now. Sadly, the debug output still shows.

    One thing though, I use the external IP for my MySQL server, but the MySQL server is on the local machine. As I explained, you have to do this for some VPS's and virtual machines.
     
  5. Offline

    oliverw92

    Ok thanks for that Drakonas. Can people having issues try what Drakonas suggested - using the external IP, not localhost
     
  6. Offline

    Lolmewn

    Using localhost to store database, and getting this error:
    Code:
    [B]Warning[/B]:  mysql_connect() [[URL='http://centrility.nl/log/function.mysql-connect']function.mysql-connect[/URL]]: Can't connect to MySQL server on '77.250.233.158' (4) in [B]/home/lsaoypcz/domains/centrility.nl/public_html/log/config.php[/B] on line [B]25[/B]
     Could not connect to MySQL Database!
    My config.php =
    Code:
     "dbHost"  => "77.250.233.158:3306",
                        "dbDbase" => "minecraft",
                        "dbUser"  => "lolmewn",
                        "dbPass"  => "My Passworld remains hidden(Duhh)",
                        "dbTable" => "datalog",
    Am I doing something wrong?
     
  7. Offline

    oliverw92

    You don't put the port number in dbHost. IF that doesn't fix it, use localhost instead of the ip
     
  8. Offline

    ssechaud

    21:05:35 [SEVERE] [DataLog] Error while writing to config.yml
     
  9. Offline

    oliverw92

    Any more information? That doesn't really give me much to go by :) There must be some more errors surrounding that
     
  10. Offline

    Socketubs

    Thanks for this good plugin :)

    But i have encoutered an error:

    [​IMG]

    The full error message :
    Code:
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY dataid DESC' at line 1
    
    For information :
    • Bukkit #740
    • DataLog v0.2
    • Debian Squeeze

    In order to fix it, i have edit the searchDB.php file like that :
    Code:
    //Loop through actions
    $actions = explode("@", $actions);
    $actArr = array();
    foreach ($actions as $i)
    array_push($actArr, "action=".$i);
    if (count($actArr) > 1)
    
    Into :
    Code:
    //Loop through actions
    $actions = explode("@", $actions);
    $actArr = array();
    foreach ($actions as $i)
    if ($i != "")
    array_push($actArr, "action=".$i);
    if (count($actArr) > 1)
    
    Hope help someone else.
     
  11. Offline

    KiloWhiskey

    hey oliver, how is v3 coming along? I was thinking, it would be cool if we could get a way to search for two players at once. Like "name,name" or "name, name" so we can see what two players were talking about each other within the timeline.
     
  12. Offline

    oliverw92

    You haven't selected any thing to search for - check some check boxes :p
    I've had a ton of coursework to do so no progress at all really. Next week i'll be able to update. I like that idea btw
     
  13. Offline

    heifinator

    I have the plugin working great and I love it.

    When I check some of the actions in the web side of the plugin I get a return of
    in the results box. It does it for door interact forsure. Any insight? =)
     
  14. Offline

    thinkingphrase

    I get the following error:


    Code:
    Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '10.40.83.76' (4) in /homepages/20/d331105197/htdocs/datalog/config.php on line 25
    Could not connect to MySQL Database!
    The information is being written to the database, the problem is with accessing the database using an external IP. Here is the config.php file:

    Code:
                        "dbHost"  => "10.40.83.76",
                        "dbDbase" => "TC86724273081582443050578",
                        "dbUser"  => "****",
                        "dbPass"  => "****",
                        "dbTable" => "datalog",
    
    Any ideas?
     
  15. Offline

    oliverw92

    So is that database hosted on the same machine as the minecraft server? You sure that ip there is the external one?
     
  16. Offline

    Socketubs

    And ?
    If you think i dont fix a bug, it means that i have improve this plugin x)

    Ps : i think its a bug .. :)
     
  17. Offline

    cholo71796

    How exactly do I set this up to work with BigBrother? I don't want this doing the logging, I want BigBrother to keep doing it.
     
  18. Offline

    oliverw92

    If you don't select anything how is it meant to show any information... how is it a bug that the user is silly enough not to select anything to search for? What exactly do you want it to return if you don't select anything for it to search for...

    You can't use it with BigBrother, it it is independant. You can use both BigBrother and this side by side and you won't see any performance impact. Just try it, you won't see any lag increase at all.
     
  19. Offline

    cholo71796

    @oliverw92
    I trust your wizardry.

    EDIT: I'm getting this when I log onto my website:
     
  20. Offline

    oliverw92

    Uhhh thats something horrifically wrong with your database. Nothing to do with my plugin or web app. I suggest googling that error and seeing what comes up.
     
  21. Offline

    heifinator

    I have the plugin working great and I love it.

    When I check some of the actions in the web side of the plugin I get a return of


    Notice: Undefined offset: 1 in /opt/lampp/htdocs/datalog/searchDB.php on line 82

    in the results box. It does it for door interact forsure. Any insight? =)
     
  22. Offline

    cholo71796

    Strange. All of my other plugins that make use of any of the databases I have run flawlessly. Since I have nothing to do with the creation of the table (done by the plugin) I don't know why there would be a problem.
     
  23. Offline

    thinkingphrase

    The database and server are hosted on different machines, and that's definitely the external IP. We have iConomy and Logblock and both of those work perfectly with the same information.
     
  24. Offline

    oliverw92

    That's a harmless bug. It doesn't actually mean anything is broken. I'll try and fix it soon :) Right now i have food poisoning so it won't be today!

    The plugin is working fine, it's the web app that is having issues. There is nothing wrong with the table creation either. It is something to do with your webserver or mysql server. Are they on the same machine? Did you set them up?

    As i said above, the plugin is working fine (minecraft itself doesn't error, the web app does. They are not actually directly linked, they just share information). Can you check if the plugin itself is definitely working with the database (use something like phpMyAdmin to visually browse the database)?
     
  25. Offline

    cholo71796

    I have an error:
    Code:
    2011-05-01 18:40:49 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2239)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2168)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    2011-05-01 18:40:49 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at com.griefcraft.sql.Database.connect(Database.java:155)
    2011-05-01 18:40:49 [SEVERE]     at com.griefcraft.lwc.LWC.load(LWC.java:995)
    2011-05-01 18:40:49 [SEVERE]     at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:329)
    2011-05-01 18:40:49 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-05-01 18:40:49 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    2011-05-01 18:40:49 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    2011-05-01 18:40:49 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    2011-05-01 18:40:49 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    2011-05-01 18:40:49 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    2011-05-01 18:40:49 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    2011-05-01 18:40:49 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-05-01 18:40:49 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-05-01 18:40:49 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 18:40:49 [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
    2011-05-01 18:40:49 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2186)
    2011-05-01 18:40:49 [SEVERE]     ... 25 more
    
    Even after removing the plugin. Perhaps it's unrelated. No plugins are working.

    Before removing the plugin I had this:
    Code:
    2011-05-01 18:39:31 [SEVERE] FATAL: DataSourcePool [DataLog] is down!!!
    2011-05-01 18:39:31 [INFO] Reseting DataSourcePool [DataLog] min:2 max:20 free:0 busy:0 waiting:0 highWaterMark:0 waitCount:0 hitCount:0
    2011-05-01 18:39:31 [INFO] Busy Connections:
    
    2011-05-01 18:39:31 [SEVERE] Could not load 'plugins\DataLog.jar' in folder 'plugins':
    com.avaje.ebeaninternal.server.lib.sql.DataSourceException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.<init>(DataSourcePool.java:210)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourceManager.getDataSource(DataSourceManager.java:210)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourceGlobalManager.getDataSource(DataSourceGlobalManager.java:63)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.getDataSourceFromConfig(DefaultServerFactory.java:427)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.setDataSource(DefaultServerFactory.java:388)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:168)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64)
        at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:175)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        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.MysqlIO.doHandshake(MysqlIO.java:1116)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.createUnpooledConnection(DataSourcePool.java:401)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.createConnectionForQueue(DataSourcePool.java:607)
        at com.avaje.ebeaninternal.server.lib.sql.PooledConnectionQueue.ensureMinimumConnections(PooledConnectionQueue.java:205)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.initialise(DataSourcePool.java:248)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.<init>(DataSourcePool.java:208)
        ... 17 more
    
    The log continues to give me thousands of errors about accessing the MySQL database. Here's a tiny portion:
    Code:
    2011-05-01 18:39:34 [INFO] LWC    Loading MySQL
    2011-05-01 18:39:42 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2239)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2168)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    2011-05-01 18:39:42 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at com.griefcraft.sql.Database.connect(Database.java:155)
    2011-05-01 18:39:42 [SEVERE]     at com.griefcraft.lwc.LWC.load(LWC.java:995)
    2011-05-01 18:39:42 [SEVERE]     at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:329)
    2011-05-01 18:39:42 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-05-01 18:39:42 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    2011-05-01 18:39:42 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    2011-05-01 18:39:42 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    2011-05-01 18:39:42 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    2011-05-01 18:39:42 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    2011-05-01 18:39:42 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    2011-05-01 18:39:42 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-05-01 18:39:42 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-05-01 18:39:42 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 18:39:42 [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
    2011-05-01 18:39:42 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2186)
    2011-05-01 18:39:42 [SEVERE]     ... 25 more
    2011-05-01 18:39:42 [INFO] LWC    At version: v2.31
    2011-05-01 18:39:42 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    2011-05-01 18:39:42 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    2011-05-01 18:39:42 [INFO] [MagicCarpet] Using Permissions.
    2011-05-01 18:39:42 [INFO] MCBans: mcbans version 2.9 is enabled!
    2011-05-01 18:39:42 [INFO] MCBans: Checking for premium!
    2011-05-01 18:39:42 [INFO] MCBans: Server NOT premium!
    2011-05-01 18:39:42 [INFO] [MCDocs] (Tazzernator/Andrew Tajsic) - Hooked into Permissions.
    2011-05-01 18:39:42 [INFO] [MCDocs] (Tazzernator/Andrew Tajsic) - v7.1 loaded.
    2011-05-01 18:39:42 [WARNING] [NoCheat] version [0.8.5] couldn't find CrafTIRC plugin. Disabling logging to IRC.
    2011-05-01 18:39:42 [INFO] [NoCheat] version [0.8.5] is enabled with the following checks: speedhack bedteleport
    2011-05-01 18:39:42 [INFO] [NoFarm] v0.1 loaded successfully!
    2011-05-01 18:39:42 [INFO] [OpenInv] version 1.0.3 is enabled!
    2011-05-01 18:39:42 [INFO] [PreciousStones] version [3.4] loaded
    2011-05-01 18:39:42 [INFO] [PreciousStones] loaded 0 unbreakable blocks
    2011-05-01 18:39:42 [INFO] [PreciousStones] loaded 11 forcefield blocks
    2011-05-01 18:39:42 [INFO] [RealShop] version [0.593] (tickleman) loaded
    2011-05-01 18:39:42 [INFO] SimpleSave: 2.2 Initialized
    2011-05-01 18:39:42 [INFO] SimpleSave: Current save interval is 10 minute(s)
    2011-05-01 18:39:42 [INFO] SimpleSave: Current backup interval is 60 minute(s)
    2011-05-01 18:39:42 [INFO] [VirtualChest] (version 3.5.2)
    2011-05-01 18:39:42 [INFO] [VirtualChest] Chests loaded !
    2011-05-01 18:39:42 [INFO] [VirtualChest] Successfully linked with Permissions.
    2011-05-01 18:39:42 [INFO] Weather Man 6 - On Air!
    2011-05-01 18:39:42 [INFO] WorldEdit 4.4 enabled.
    2011-05-01 18:39:42 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 18:39:42 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 18:39:42 [INFO] WorldGuard: Blacklist loaded.
    2011-05-01 18:39:42 [INFO] WorldGuard: (world3) Single session is enforced.
    2011-05-01 18:39:42 [INFO] WorldGuard: (world3) TNT ignition is blocked.
    2011-05-01 18:39:42 [INFO] WorldGuard: (world3) Lighters are blocked.
    2011-05-01 18:39:42 [INFO] WorldGuard: (world3) Lava fire is blocked.
    2011-05-01 18:39:42 [INFO] WorldGuard: (world3) All fire spread is disabled.
    2011-05-01 18:39:42 [INFO] WorldGuard: Loaded configuration for world 'world3"
    2011-05-01 18:39:42 [INFO] WorldGuard: (CholoWorld) Single session is enforced.
    2011-05-01 18:39:42 [INFO] WorldGuard: (CholoWorld) TNT ignition is PERMITTED.
    2011-05-01 18:39:42 [INFO] WorldGuard: (CholoWorld) Lighters are PERMITTED.
    2011-05-01 18:39:42 [INFO] WorldGuard: (CholoWorld) Lava fire is blocked.
    2011-05-01 18:39:42 [INFO] WorldGuard: (CholoWorld) Fire spread is UNRESTRICTED.
    2011-05-01 18:39:42 [INFO] WorldGuard: Loaded configuration for world 'CholoWorld"
    2011-05-01 18:39:43 [INFO] WorldGuard: 25 regions loaded for 'world3'
    2011-05-01 18:39:43 [INFO] WorldGuard: 1 regions loaded for 'CholoWorld'
    2011-05-01 18:39:43 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-01 18:39:43 [INFO] Done (1.321s)! For help, type "help" or "?"
    2011-05-01 18:39:44 [INFO] cholo71796 [obscured] logged in with entity id 152
    2011-05-01 18:39:44 [SEVERE] Could not pass event PLAYER_JOIN to HeroChat
    java.lang.LinkageError: loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "com/nijiko/permissions/PermissionHandler"
        at com.herocraftonline.dthielke.herochat.util.PermissionManager.getGroup(PermissionManager.java:28)
        at com.herocraftonline.dthielke.herochat.util.ConfigManager.loadPlayer(ConfigManager.java:167)
        at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayerJoin(HeroChatPlayerListener.java:84)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 18:39:44 [SEVERE] Could not pass event PLAYER_JOIN to MCDocs
    java.lang.LinkageError: loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "com/nijiko/permissions/PermissionHandler"
        at com.tazzernator.bukkit.mcdocs.MCDocsListener.groupMotd(MCDocsListener.java:404)
        at com.tazzernator.bukkit.mcdocs.MCDocsListener.onPlayerJoin(MCDocsListener.java:392)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 18:39:44 [SEVERE] java.lang.LinkageError: com/nijiko/permissions/PermissionHandler
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:438)
    2011-05-01 18:39:44 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
    2011-05-01 18:39:44 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-05-01 18:39:44 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-01 18:39:44 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 18:39:44 [SEVERE] java.lang.LinkageError: com/nijiko/permissions/PermissionHandler
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-05-01 18:39:44 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:442)
    
     
  26. Offline

    oliverw92

    Is your mysql data right in bukkit.yml?
     
  27. Offline

    cholo71796

    Yes. It has not changed since I added (and removed) DataLog.
     
  28. Offline

    thinkingphrase

    Yeah, all the data is being logged by the plugin no problem. The problem is obviously with the web app connecting to the database, but all the information is entered properly, as you see in the original post. Not sure why it's not actually just working then...
     
  29. Offline

    cholo71796

    I'm not sure if you're responding to me, but the problem isn't with the plugin working any longer- it's with me getting rid of it. The .jar is off the server, but now I'm experiencing major, direct problems with the server.

    EDIT: I'm all good now. I had to download some MySQL stuff and go in and manually expunge the table, but everything is working in order now. Good luck with the plugin.
     
  30. Offline

    oliverw92

    The web app is fine it's somethign to do with PHP and connecting to the MySQL database. Im 100% sure the web app is fine, it must be something with either your PHP, apache or MySQL installation/config.

    Glad it's working :)
     
  31. On chest-access log I get this php warning:

    Notice: Undefined offset: 1 in searchDB.php on line 82
     
Thread Status:
Not open for further replies.

Share This Page