Well, I just tried calling System.exit(0) and nothing happens: the process doesn't exit. FYI: I'm using the Simple HTTP server. There are a bunch of threads stuck in wait().

How can I shutdown the server and cause the process to exit?

- Paul


On Jan 9, 2008, at 11:43 PM, Paul J. Lucas wrote:

When I start my server, I have:

        component = new Component();
        // ...
        component.start();

To shutdown a server, I assume I do:

        component.stop();

However, the process doesn't stop.  Should I then simply do:

        System.exit( 0 );

?

Reply via email to