Jump to content

Recommended Posts

Posted

as a continuation of my other topic >here.

 

When I double click the cauldron server jar, it loads for a couple of seconds and then nothing happens.

 

Here is the log that is produced when i attempt to run the server:

 

[18:01:28] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[18:01:28] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[18:01:28] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[18:01:28] [main/INFO]: Forge Mod Loader version 7.10.25.1207 for Minecraft 1.7.10 loading
[18:01:29] [main/INFO]: Java is Java HotSpot Client VM, version 1.7.0_17, running on Windows 8:x86:6.2, installed at C:Program Files (x86)Javajre7
[18:01:29] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:01:29] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:01:29] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:01:29] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:01:29] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:01:30] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:01:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:01:31] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[18:01:31] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[18:01:31] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[18:01:36] [server thread/INFO]: Starting minecraft server version 1.7.10
[18:01:36] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[18:01:36] [server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_17]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_17]
at java.io.BufferedInputStream.fill(Unknown Source) ~[?:1.7.0_17]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_17]
at java.io.FilterInputStream.read(Unknown Source) ~[?:1.7.0_17]
at jline.console.ConsoleReader$1.read(ConsoleReader.java:167) ~[ConsoleReader$1.class:?]
at jline.internal.InputStreamReader.read(InputStreamReader.java:267) ~[inputStreamReader.class:?]
at jline.internal.InputStreamReader.read(InputStreamReader.java:204) ~[inputStreamReader.class:?]
at jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995) ~[ConsoleReader.class:?]
at jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:1506) ~[ConsoleReader.class:?]
at jline.console.ConsoleReader.readLine(ConsoleReader.java:1153) ~[ConsoleReader.class:?]
at jline.console.ConsoleReader.readLine(ConsoleReader.java:1117) ~[ConsoleReader.class:?]
at jline.console.ConsoleReader.readLine(ConsoleReader.java:1105) ~[ConsoleReader.class:?]
at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:123) [lv.class:?]
[18:01:36] [server thread/INFO]: Attempting early MinecraftForge initialization
[18:01:36] [server thread/INFO]: MinecraftForge v10.13.0.1207 Initialized
[18:01:36] [server thread/INFO]: Replaced 182 ore recipies
[18:01:36] [server thread/INFO]: Completed early MinecraftForge initialization
[18:01:36] [server thread/INFO]: Config directory created successfully
[18:01:36] [server thread/INFO]: Searching C:UsersCallumDesktoptestmods for mods
[18:01:36] [server thread/INFO]: Forge Mod Loader has identified 3 mods to load
[18:01:37] [server thread/INFO]: Processing ObjectHolder annotations
[18:01:37] [server thread/INFO]: Found 341 ObjectHolder annotations
[18:01:37] [server thread/INFO]: Configured a dormant chunk cache size of 0
[18:01:37] [server thread/INFO]: Applying holder lookups
[18:01:37] [server thread/INFO]: Holder lookups applied
[18:01:37] [server thread/INFO]: Loading properties
[18:01:37] [server thread/WARN]: server.properties does not exist
[18:01:37] [server thread/INFO]: Generating new properties file
[18:01:37] [server thread/WARN]: Failed to load eula.txt
[18:01:37] [server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
[18:01:37] [server thread/WARN]: Can't revert to frozen GameData state without freezing first.
[18:01:37] [server thread/INFO]: Applying holder lookups
[18:01:37] [server thread/INFO]: Holder lookups applied
[18:01:37] [server thread/INFO]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded.
 
  • Discord Moderator
Posted
  • One does not "double click" the server JAR in order to start the server. There are multiple command line parameters which need to be added to the command line for it to work properly. Create a batch file that looks something like this:

startserver.bat:

@echo off

java -Xms2048m -Xmx2048m -XX:PermSize=128m cauldron-server-filename.jar nogui

You would adjust the memory and permanent generation size according to your needs.

  • Your console output clearly shows what the problem is:
[18:01:37] [Server thread/WARN]: Failed to load eula.txt
[18:01:37] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
Posted

Just another note, once the server is ran through a batch file instead, the following lines will also go away:

[18:01:36] [Server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[18:01:36] [Server console handler/ERROR]: Exception handling console input

(Note: the other lines below the second one will also go away with it, its part of the same line overall but without the timestamp info, marking it as a line continuation)

Posted

Thanks for the help. Unfortunatley agreeing to the EULA just gives the same result. Below is the latest log in the logs folder

 

[19:20:59] [main/INFO] [FML/]: Forge Mod Loader version 7.10.25.1207 for Minecraft 1.7.10 loading

[19:20:59] [main/INFO] [FML/]: Java is Java HotSpot Client VM, version 1.7.0_17, running on Windows 8:x86:6.2, installed at C:Program Files (x86)Javajre7
[19:21:00] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:21:00] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[19:21:00] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:21:00] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:21:00] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:21:01] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:21:01] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[19:21:01] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[19:21:01] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[19:21:01] [main/INFO] [LaunchWrapper/]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[19:21:06] [server thread/INFO] [MinecraftForge/]: Attempting early MinecraftForge initialization
[19:21:06] [server thread/INFO] [FML/]: MinecraftForge v10.13.0.1207 Initialized
[19:21:06] [server thread/INFO] [FML/]: Replaced 182 ore recipies
[19:21:06] [server thread/INFO] [MinecraftForge/]: Completed early MinecraftForge initialization
[19:21:06] [server thread/INFO] [FML/]: Searching C:UsersCallumDesktoptestmods for mods
[19:21:07] [server thread/INFO] [FML/]: Forge Mod Loader has identified 3 mods to load
[19:21:07] [server thread/INFO] [FML/]: Processing ObjectHolder annotations
[19:21:07] [server thread/INFO] [FML/]: Found 341 ObjectHolder annotations
[19:21:07] [server thread/INFO] [FML/Forge]: Configured a dormant chunk cache size of 0
[19:21:07] [server thread/INFO] [FML/]: Applying holder lookups
[19:21:07] [server thread/INFO] [FML/]: Holder lookups applied
[19:21:07] [server thread/INFO] [Minecraft/]: This server is running Cauldron-MCPC-Plus version git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.195 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
[19:21:07] [server thread/INFO] [/]: Server Ping Player Sample Count: 12
[19:21:07] [server thread/INFO] [Minecraft/]: Using 4 threads for Netty based IO
[19:21:07] [server thread/WARN] [FML/]: =============================================================
[19:21:07] [server thread/WARN] [FML/]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FMLCommonHandler!
[19:21:07] [server thread/WARN] [FML/]: Offendor: org/spigotmc/RestartCommand.restart()V
[19:21:07] [server thread/WARN] [FML/]: =============================================================
[19:21:08] [server thread/WARN] [FML/]: Can't revert to frozen GameData state without freezing first.
[19:21:08] [server thread/INFO] [FML/]: Applying holder lookups
[19:21:08] [server thread/INFO] [FML/]: Holder lookups applied
[19:21:08] [server thread/INFO] [FML/]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded.

 
I attempted to do the .bat file startup, however this appears in the console.
 
ac96f332891be87f5d38d9033635ddfb.png
 
Sorry for the complications.
Posted (edited)

update: managed to fix the last issue but now this is happening.

 

db7138045877f073f5dda21ecd8087c0.png

 

EDIT: new upadate, for some reason it now doesnt recognise the cauldron jar.

 

4113509e5350b2a2dd2a469a26cbec1f.png

 

I made sure they both had the same name.

Edited by winkatawink
Posted

Java not being recognized is often due to the PATH variable not being set properly. As for the JVM issue - theres a minor fix but it can be a hassle itself that overwrites RAM set by the launcher. For the last issue, it doesnt seem to be finding the jar properly. Ensure the name is correct (itd be easier to name it modpack.jar or something shorter without the numbers hyphens and periods)

Posted

Java not being recognized is often due to the PATH variable not being set properly. As for the JVM issue - theres a minor fix but it can be a hassle itself that overwrites RAM set by the launcher. For the last issue, it doesnt seem to be finding the jar properly. Ensure the name is correct (itd be easier to name it modpack.jar or something shorter without the numbers hyphens and periods)

 

a1dabc83baae5673d51cea1467334579.png

 

Shouldn't this work? I seem to be getting the same message.

Posted

To verify - this modpack is actually meant for 1.7.10? And you do not have any issues with running the cauldron.jar file by itself without via a batch (.bat) file? It's possible your download of the jar file got corrupted somehow.

 

 

Also, fyi, -Xmx512m is a bit small for a server, maybe not for vanilla, but usually is for a server, but this isnt the issue atm.

Posted (edited)

yes, the modpack is meant for 1.7.10. I will try reinstalling the cauldron jar.

 

I had to reduce the size to get around the 'object heap' issue, unfortunately :/

 

EDIT: tried reinstalling. same issue.

Edited by winkatawink
Posted

The -Xmx512m flag is actually the workaround provided by some sites about the JVM failing to create, only instead of setting it via the command line an app at a time, itd be the default value set to the _JAVA_OPTIONS environment variable (which is the same thing responsible for overwriting flags set by a batch file, etc in some cases) so yeah, im not 100% sure why this fails to create for some people. My only suggestion is reinstalling Java may fix that particular issue (uninstall all versions, reboot, reinstall in admin mode if possible) for a longer term than being forced in the 512M argument "trick"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...