public class UnstoppableJettyTest
public void testMe() throws Exception
Server server = new Server();
SocketConnector connector = new SocketConnector();
This simple program eventually stops in 500 seconds. The problem with SocketConnector is that it tries to stop BoundedThreadPool before closing the server socket. But since the acceptor thread was created by the pool too, there is not way to do it: accept() in ServerSocket ignores thread interruptions.