Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

ATM6 Minecraft server will not auto restart

  • 5.3K Views
  • Last Post 07 November 2021
sparkvantiin posted this 07 November 2021

OS Name/Version: Windows 10

Product Name/Version: AMP "Triton" v2.3.0.2

Problem Description: ATM6 Minecraft server will not auto restart. The server stops, saves and unloads properly but does not automatically start up again. All it does is hangs on the "preparing to restart" screen and the notification on bottom right of screen is froze.

Steps to reproduce:

Step 1.  Start server.
Step 2.  Play on server a bit.
Step 3.  Click AMP "Restart" button on console.

Actions taken to resolve so far:

I have used the /stop command. Server stops properly but does not restart. I have used the schedule option for "Restart the Minecraft server". I have used the schedule option for "Run command in one hour, with warnings".

I am not sure what logs would be useful as there are no obvious errors.
I have looked through the logs that would most likely have any info but where the error would happen, which would be right after server stops, saves and unloads everything, it just ends. strait to starting application (manually started by me). Nothing about it hanging on "preparing to restart" or that I had to click the "kill" button.

I am using the Minecraft instance. I did get some help from your Discord about using the wrong .jar file for starting the server. I am now using the forge.jar to start the server. Was using the Serverstarter.jar.

Order By: Standard | Newest | Votes
sparkvantiin posted this 07 November 2021

Update:

While trying restart the server again I noticed the AMP does not appear to be aware that the server is stopped. It will bring up java.IO.FileNotFoundExeptions, I'm assuming because the server is stopped and its not aware of this fact.

sparkvantiin posted this 07 November 2021

This is what the console gave me as soon as I clicked the "restart" button.

Server thread/INFO04:50:31 Stopping the server onServerStop Stopping server Saving players Saving worlds Saving chunks for level 'ServerLevel[New Wrold]'/minecraft:overworld JDA RateLimit-Worker 2/INFO04:50:32 [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [java.lang.Throwable:printStackTrace:-1]: ... 21 more [java.lang.Throwable:printStackTrace:-1]: Caused by: java.nio.channels.ClosedChannelException [java.lang.Throwable:printStackTrace:-1]: at sun.nio.ch.FileChannelImpl.ensureOpen(Unknown Source) [java.lang.Throwable:printStackTrace:-1]: at sun.nio.ch.FileChannelImpl.position(Unknown Source) Server thread/INFO04:50:32 Unloading EnderTank Data JDA RateLimit-Worker 2/INFO04:50:32 [java.lang.Throwable:printStackTrace:-1]: at sun.nio.ch.FileChannelImpl.position(Unknown Source) Server thread/INFO04:50:32 Finished Unloading EnderTank Data JDA RateLimit-Worker 2/INFO04:50:32 [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem.readFullyAt(ZipFileSystem.java:952) [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem.readFullyAt(ZipFileSystem.java:945) [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem.getDataPos(ZipFileSystem.java:931) [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem.access$400(ZipFileSystem.java:80) Server thread/INFO04:50:32 Unloading EnderChest Data JDA RateLimit-Worker 2/INFO04:50:32 [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem$EntryInputStream.(ZipFileSystem.java:1500) Server thread/INFO04:50:32 Finished Unloading EnderChest Data JDA RateLimit-Worker 2/INFO04:50:32 [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem.getInputStream(ZipFileSystem.java:1430) Server thread/INFO04:50:32 FluxNetworkData has been unloaded JDA RateLimit-Worker 2/INFO04:50:32 [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:547) [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipPath.newInputStream(ZipPath.java:708) [java.lang.Throwable:printStackTrace:-1]: at com.sun.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:278) [java.lang.Throwable:printStackTrace:-1]: at java.nio.file.Files.newInputStream(Unknown Source) [java.lang.Throwable:printStackTrace:-1]: at net.minecraftforge.fml.loading.ModJarURLHandler$ModJarURLConnection.getInputStream(ModJarURLHandler.java:87) [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader$AutoURLConnection.(TransformingClassLoader.java:174) [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:247) [java.lang.Throwable:printStackTrace:-1]: ... 23 more OkHttp TaskRunner/INFO04:50:32 [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.NoClassDefFoundError: dcshadow/okhttp/internal/http2/Http2Connection$writeSynResetLater$$inlined$execute$1 [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.http2.Http2Connection.writeSynResetLater$okhttp(Http2Connection.kt:1014) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.http2.Http2Connection$ReaderRunnable.data(Http2Connection.kt:645) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.http2.Http2Reader.readData(Http2Reader.kt:180) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.http2.Http2Reader.nextFrame(Http2Reader.kt:119) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.http2.Http2Connection$ReaderRunnable.invoke(Http2Connection.kt:618) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.http2.Http2Connection$ReaderRunnable.invoke(Http2Connection.kt:609) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.concurrent.TaskQueue$execute$1.runOnce(TaskQueue.kt:98) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.concurrent.TaskRunner.runTask(TaskRunner.kt:116) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.concurrent.TaskRunner.access$runTask(TaskRunner.kt:42) [java.lang.ThreadGroup:uncaughtException:-1]: at dcshadow.okhttp.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:65) [java.lang.ThreadGroup:uncaughtException:-1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [java.lang.ThreadGroup:uncaughtException:-1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Thread.run(Unknown Source)

sparkvantiin posted this 07 November 2021

Update 2:

I decided to reinstall the server. Reinstallation of the server was successful. My server is restarting like it should.
Reinstalling has fixed my problem.

Close