Mojira Archive
MC-2670

Java SocketException on shutdown

Every time I issue the "stop" command, this happens:

java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:522)
        at java.net.ServerSocket.accept(ServerSocket.java:490)
        at hu.run(SourceFile:66)

This happens every time I stop the server, I only run bleeding edge builds on this server, but it is annoying that they don't make clean exits. Additionally, either it isn't working or doesn't exist, but sigint quits java, not minecraft, which makes writing a good init.d script nigh impossible.

Fixed

Michael Aldridge

2012-11-10, 05:21 AM

2015-02-07, 02:32 PM

2014-01-11, 10:25 PM

0

4

Unconfirmed

Minecraft 1.4.4, Minecraft 1.6.2, Minecraft 13w39b, Minecraft 1.7.4

Minecraft 1.7.4