Problem Direwolf20

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Darkarma

New Member
Jul 29, 2019
6
0
1
Been messing with Direwolf for nearly the past twenty hours and partially solved my issue for my small home server I share with a few friends.

Essence:
When I run the server through the FTBServer.jar it will eventually crash before anyone has a chance to log in. This is before I even install Gregtech or Treecapitator.
Circumstance:
Windows 8
32gb of ram, 8 of which are dedicated to the server.
Each attempt I've done has been with a freshly unzipped copy of the newest direwolf server pack.
I am a bit new to hosting a server just as a note.

2013-12-11 05:57:45 [INFO] Starting minecraft server version 1.6.4
2013-12-11 05:58:11 [INFO] Loading properties
2013-12-11 05:58:11 [INFO] Default game type: SURVIVAL
2013-12-11 05:58:11 [INFO] Generating keypair
2013-12-11 05:58:12 [INFO] Starting Minecraft server on *:25565
2013-12-11 05:58:25 [WARNING] Failed to load operators list: java.io.FileNotFoundException: .\ops.txt (The system cannot find the file specified)
2013-12-11 05:58:25 [WARNING] Failed to load white-list: java.io.FileNotFoundException: .\white-list.txt (The system cannot find the file specified)
2013-12-11 05:58:25 [INFO] Preparing level "DW20World"
2013-12-11 05:58:31 [SEVERE] Encountered an unexpected exception OutOfMemoryError
java.lang.OutOfMemoryError: PermGen space
2013-12-11 05:58:32 [INFO] Stopping server
2013-12-11 05:58:32 [INFO] Saving players
2013-12-11 05:58:32 [INFO] Saving worlds
2013-12-11 05:58:32 [INFO] Saving chunks for level 'DW20World'/Overworld
2013-12-11 05:58:32 [INFO] Closing listening thread
2013-12-11 06:14:59 [INFO] Starting minecraft server version 1.6.4
2013-12-11 06:15:25 [INFO] Loading properties
2013-12-11 06:15:25 [INFO] Default game type: SURVIVAL
2013-12-11 06:15:25 [INFO] Generating keypair
2013-12-11 06:15:25 [INFO] Starting Minecraft server on *:25565
2013-12-11 06:15:41 [INFO] Preparing level "DW20World"
2013-12-11 06:15:44 [SEVERE] Encountered an unexpected exception NoClassDefFoundError
java.lang.NoClassDefFoundError: codechicken/chunkloader/PlayerChunkViewerManager
at codechicken.chunkloader.ChunkLoaderEventHandler.onWorldLoad(ChunkLoaderEventHandler.java:92)
at net.minecraftforge.event.ASMEventHandler_193_ChunkLoaderEventHandler_onWorldLoad_Load.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
at net.minecraftforge.event.EventBus.post(EventBus.java:108)
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:259)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.ClassNotFoundException: codechicken.chunkloader.PlayerChunkViewerManager
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178)
... 10 more
2013-12-11 06:15:45 [INFO] Stopping server
2013-12-11 06:15:45 [INFO] Saving players
2013-12-11 06:15:45 [INFO] Saving worlds
2013-12-11 06:15:45 [INFO] Saving chunks for level 'DW20World'/Overworld
2013-12-11 06:15:45 [INFO] Closing listening thread
2013-12-11 06:20:32 [INFO] Stopping server
2013-12-11 06:20:32 [INFO] Saving players
2013-12-11 06:20:32 [INFO] Saving worlds
2013-12-11 06:20:32 [INFO] Saving chunks for level 'DW20World'/Overworld

And that's it. This happens every time, it either complains about about permgen (which I increased its capacity afterwards) or about biome o plenty.

How I fixed it:
I stopped using the ftbserver jar program and just ran with the start.bat After that the server works fine I can log in and everything. Works fine even with the additional mods mentioned above.

My question:
How do I fix the blasted thing so I can use the server jar...? Or does anyone have some recommendations on what to replace it with? Personally I'm a fan of having things with lots of buttons and fields and the like... I can deal with using the cmd if I have to but its not ideal. I'll take it if it means a more stable server.

Help?

Side Note: Apparently treecapitator isn't working but its not bringing down the server either.... dunno
 
Last edited:

Francis Baster

New Member
Jul 29, 2019
295
0
0
If you edit the start.bat and remove "nogui" from the end, I think it might still show the GUI with the buttons and fields you like so much! I think the problem is that by double clicking the .jar you are not specifying any Java command line arguments. With FTB Servers it is imperative to specify at least the
Code:
-Xmx -Xms and -XX:permSize
Java arguments.

Hope this helps and isn't something you already knew!