Bug the Simple developers. I am absolutely astonished that they don't provide a clean way to shut down their server.
On Jan 10, 2008 2:59 AM, Paul J. Lucas <[EMAIL PROTECTED]> wrote: > 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 ); > > > > ? >

