Hi my server crashed and i dont know what happend. I made my modded sever correctly and so every time i log on i take 2 steps and it crahes. please reply, thank you.
Here is crash report
Minecraft Crash Report ----
// Oops.
Time: 9/27/15 12:34 PM
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at TMIConfig.isMultiplayer(TMIConfig.java:87)
at TMIForgeContainer.playerInteract(TMIForgeContainer.java:48)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_1_TMIForgeContainer_playerInteract_PlayerInteractEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:100)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:353)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 17 more
Caused by: java.lang.RuntimeException: Attempted to load class bao for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 19 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
You're running a large amount of mods there with only 1GB of RAM.
If you're getting "can't keep up" messages then you're getting huge amounts of lag. Step 1 would be allocate more RAM. I do so by creating a .bat file with the following within. This will allocate 4GB RAM, make sure you change forge-1.8..... to whatever your server jar is called. Then run the batch file and the server will start with those qualities.
If that still doesn't work, you may want to turn off the watchdog which looks for lag and shuts down the server. In server properties set max-tick-speed to -1. Beware though, that could cause server instability, but it's better than no running server at all.
Check your mods for client side mods installed on server.
You don't seem to be running many java arguments in your startup.bat; I guess you are getting the did your time change message telling you it is skipping ahead ticks.
These should work for you. Just place them in a notepad file and save as startup.bat (rename it) and run it to start your server. It needs to be in the server file with the server jar. You can create a shortcut to it.
You can't set it to 4g if you don't have that much memory; -Xmx4G this indicates allow maximum of 4 gigs of memory while -Xms4G means minimum of 4 gigs.
You can also use this GUI to start your server with sliders to control memory.
do i have to mannualy change the stuff that changes
You should have to set the arguments only once since they are tailored to your system and needs. The only time they will need to be tweaked is if you make changes to your system or update java and some arguments become deprecated and replaced with new ones. Some of the ones I gave deal with garbage collection, advanced processor tweaks, and pagefile settings to allow for a smoother server. Unfortunately there is no catch all for all servers.
This is trial and error for the most part on getting the best setup for your system. The GUI will help you a lot to see what is happening in the background and you can add the arguments on the settings tab; it simplifies it. It will also identify errors and give an explanation when it can.
That indicates that an argument is set too high for your capabilities usually. You are running 32bit OS try to keep the memory below 1536M and see if it helps.
You can just leave it as bukkit with Forge; it hasn't gave me an issue.
Then if you need help and you copy the console to place in a spoiler all the info is there to get help. I would suggest that you try the arguments a few at a time until you get what works for you
Also you may need to ommit the -native in my above comment.
Some time ago I tried to understand the arguments while setting up a server myself and posted a topic. I will share it here since it contains links to the various versions of Java and their arguments. It should help you to understand each and find what works best for your setup.
Hi my server crashed and i dont know what happend. I made my modded sever correctly and so every time i log on i take 2 steps and it crahes. please reply, thank you.
Here is crash report
Minecraft Crash Report ----
// Oops.
Time: 9/27/15 12:34 PM
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at TMIConfig.isMultiplayer(TMIConfig.java:87)
at TMIForgeContainer.playerInteract(TMIForgeContainer.java:48)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_1_TMIForgeContainer_playerInteract_PlayerInteractEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:100)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:353)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 17 more
Caused by: java.lang.RuntimeException: Attempted to load class bao for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 19 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.8.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 587825904 bytes (560 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -Xms1G -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 13, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1492 21 mods loaded, 21 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1492-1.7.10-universal.jar)
UCHIJAAAA Forge{10.13.4.1492} [Minecraft Forge] (forge-1.7.10-10.13.4.1492-1.7.10-universal.jar)
UCHIJAAAA TooManyItems{1.7.10} [TooManyItems] (minecraft.jar)
UCHIJAAAA furnace3d{1.2.0} [Furnace 3D] ([1.7.10] 3D Furnace-1.3a(1).jar)
UCHIJAAAA FLabsBF{4.3} [Better Furnaces] ([1.7.10]Better_Furnaces_V4.3.jar)
UCHIJAAAA ArchimedesShips{1.7.10 v1.7.1} [Archimedes' Ships] (ArchimedesShips-1.7.1(2).jar)
UCHIJAAAA betterstorage{0.13.1.126} [BetterStorage] (BetterStorage-1.7.10-0.13.1.126.jar)
UCHIJAAAA CarpentersBlocks{3.3.4.2} [Carpenter's Blocks] (Carpenters Blocks v3.3.4.2 - MC 1.7.10.jar)
UCHIJAAAA customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d(2).jar)
UCHIJAAAA props{2.0.2} [Decocraft] (Decocraft-2.0.2_1.7.10(1).jar)
UCHIJAAAA fairylights{0.6} [Fairy Lights] (fairylights-0.6-1.7.10.jar)
UCHIJAAAA FoodPlus{3.0rS} [§bFood Plus] (Food-Plus-Mod-1.7.10.jar)
UCHIJAAAA icecreamcreepers{1.0.9f} [Icecream Sandwich Creeper Mod] (IceCreamSandwichCreeperModv1.0.9 1.7.10(1).jar)
UCHIJAAAA RadixCore{2.0.1} [RadixCore] (RadixCore-2.0.1-1.7.10-universal(1).jar)
UCHIJAAAA MCA{5.0.5_1} [Minecraft Comes Alive] (MCA-5.0.5_1-1.7.10-universal(1).jar)
UCHIJAAAA moreplayermodels{1.7.10} [MorePlayerModels] (MorePlayerModels_1.7.10.jar)
UCHIJAAAA movillages{1.2.1} [Mo' Villages] (MoVillages-1.3.1(1).jar)
UCHIJAAAA securitycraft{v1.6.1} [SecurityCraft] (SecurityCraft v1.6.0 for 1.7.10.jar)
UCHIJAAAA simply_sit{1.7.10-1.1.0} [Simply Sit] (Simply-Sit-Mod-1.7.10.jar)
UCHIJAAAA TwilightForest{2.3.7} [The Twilight Forest] (twilightforest-1.7.10-2.3.7(1).jar)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 20; [EntityPlayerMP['Spiderianmonkey'/232, l='world', x=351.81, y=75.00, z=272.08]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
it also said it could not keep up.
Do you have any unwanted mods or plugins? I also host free servers. So if u need one please msg me!
no i have all the mods i want
once i join it says that it cant keep up
You're running a large amount of mods there with only 1GB of RAM.
If you're getting "can't keep up" messages then you're getting huge amounts of lag. Step 1 would be allocate more RAM. I do so by creating a .bat file with the following within. This will allocate 4GB RAM, make sure you change forge-1.8..... to whatever your server jar is called. Then run the batch file and the server will start with those qualities.
java -Xmx4G -Xms4G -jar forge-1.8-11.14.3.1450-universal.jar
pause
If that still doesn't work, you may want to turn off the watchdog which looks for lag and shuts down the server. In server properties set max-tick-speed to -1. Beware though, that could cause server instability, but it's better than no running server at all.
Check out my Youtube channel, where I build a theme park in vanilla Minecraft!
https://www.youtube.com/playlist?list=PLeCiIIOoWhe-mq3nYd_nXXrKw9MkjnUU7
Check your mods for client side mods installed on server.
You don't seem to be running many java arguments in your startup.bat; I guess you are getting the did your time change message telling you it is skipping ahead ticks.
These should work for you. Just place them in a notepad file and save as startup.bat (rename it) and run it to start your server. It needs to be in the server file with the server jar. You can create a shortcut to it.
java -Xms512M -Xmx1024M -native -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:UseSSE=3 -XX:MetaspaceSize=128m -XX:LargePageSizeInBytes=4m -jar forge-1.8-11.14.1.1371-universal.jar -o true
PAUSE
forge-1.8-11.14.1.1371-universal.jar = this gets set to the name of your server jar
-XX:ParallelGCThreads=4 = this gets set to the number of cores your processor has
-Xms512M -Xmx1024M = tweak these based on system memory
so now i have a few more problems
1.Dont have a max tick speed setting
2.when the CMD shows up it says it couldn't create java virtual machine and invalid heap speed -Xmx4G
thx for replying though
oh and cool channel just subed
do i have to mannualy change the stuff that changes
You can't set it to 4g if you don't have that much memory; -Xmx4G this indicates allow maximum of 4 gigs of memory while -Xms4G means minimum of 4 gigs.
You can also use this GUI to start your server with sliders to control memory.
http://get.bertware.net/detail/bukkitgui2
Just place it into your server folder and you can used this to start your server instead of a startup batch.
It works with Forge, Vanilla, and bukkit server jars.
ok so it said
Error occupied during installation of VM
could not reserve enough space for 2097152KB object heap
You should have to set the arguments only once since they are tailored to your system and needs. The only time they will need to be tweaked is if you make changes to your system or update java and some arguments become deprecated and replaced with new ones. Some of the ones I gave deal with garbage collection, advanced processor tweaks, and pagefile settings to allow for a smoother server. Unfortunately there is no catch all for all servers.
This is trial and error for the most part on getting the best setup for your system. The GUI will help you a lot to see what is happening in the background and you can add the arguments on the settings tab; it simplifies it. It will also identify errors and give an explanation when it can.
what do i select in server type?
That indicates that an argument is set too high for your capabilities usually. You are running 32bit OS try to keep the memory below 1536M and see if it helps.
You can just leave it as bukkit with Forge; it hasn't gave me an issue.
Select bukkit on the starter tab; it'll be fine.
If you run the GUI program you can place these arguments into the optional arguments on the starter tab to display all arguments in the console.
-XshowSettings:properties -XX:+PrintCommandLineFlags
Then if you need help and you copy the console to place in a spoiler all the info is there to get help. I would suggest that you try the arguments a few at a time until you get what works for you
Also you may need to ommit the -native in my above comment.
Some time ago I tried to understand the arguments while setting up a server myself and posted a topic. I will share it here since it contains links to the various versions of Java and their arguments. It should help you to understand each and find what works best for your setup.
http://www.minecraftforum.net/forums/support/server-support/2474943-looking-for-assistance-with-server-bat-self