Apparently I'm the only one unable to get the new 0.9 server files working...

A new update is now available, introducing seasons and more!
Latest hotfix: 0.8.0.1 (2024-12-20)
  • I had no issue with the 0.9 preview server but when I updated my old local server to 0.9 by copying over the server jar and library and keeping my world as is I'm getting an error. So I did a fresh copy of the new server files locally to troubleshoot, and I get the same error. I then removed all temporary files per the error cited, I tried to run the server again but got the same error again as running the server seems to create the same tmp file which then is failed to remove. I can see by the list of available 0.9 public servers that others don't have this issue. What am I doing wrong?


    java.sql.SQLException: failed to load commons/definitions/definitions.db: java.io.IOException: failed to remove existing DB file: C:\Users\Admin\AppData\Local\Temp\sqlite-jdbc-tmp-1628027389.db
    at org.sqlite.core.CoreConnection.open(CoreConnection.java:181)
    at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76)
    at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:26)
    at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:24)
    at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
    at org.sqlite.JDBC.createConnection(JDBC.java:114)
    at org.sqlite.JDBC.connect(JDBC.java:88)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at d.a.a(SourceFile:46)
    at commons.definitions.Clothing.<clinit>(SourceFile:86)
    at commons.definitions.Crafting.<clinit>(SourceFile:150)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at server.Main.initStaticClasses(SourceFile:403)
    at server.Main.initApplication(SourceFile:278)
    at commons.JIWApplication.initialize(SourceFile:236)
    at com.jme3.system.NullContext.initInThread(NullContext.java:87)
    at com.jme3.system.NullContext.run(NullContext.java:130)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at d.a.a(SourceFile:84)
    at commons.definitions.Clothing.<clinit>(SourceFile:88)
    at commons.definitions.Crafting.<clinit>(SourceFile:150)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at server.Main.initStaticClasses(SourceFile:403)
    at server.Main.initApplication(SourceFile:278)
    at commons.JIWApplication.initialize(SourceFile:236)
    at com.jme3.system.NullContext.initInThread(NullContext.java:87)
    at com.jme3.system.NullContext.run(NullContext.java:130)
    at java.lang.Thread.run(Unknown Source)
    Press any key to continue . . .

  • Code
    java.sql.SQLException: failed to load commons/definitions/definitions.db

    That's the first error the temp file is the second error.


    The update process creates a backup of your database (that's the one in your temp folder).


    Can you locate the definitions.db in the definitions directory?

  • It's indeed a strange issue... It looks like it only affects a few Windows servers, at least I have seen another person (who runs a Windows server) who ran into the same issue (on the other hand, other Windows server owners apprently don't suffer from this issue) ?(


    It appears to me that it depends on the order how the game definitions were loaded... I've prepared another server version, please have a look if you still run into the same issue with this version ;)


    https://download.rising-world.…?type=server&filetype=zip

  • Thanks for all the help. I was out of town for a bit and this morning I launched the local windows server again and it loaded without error and I was able to login to my newly converted 0.9 server without issue. I don't know what the cause was or how it self corrected but it's working now.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!