Servlets, Apache JServ and gcj/libgcj
Joerg Brunsmann
joerg.brunsmann@FernUni-Hagen.de
Mon Nov 22 05:55:00 GMT 1999
Bryce McKinlay wrote:
> ctrl-c the data
> keeps coming for a second or two. If you have a server app, it sometimes takes 10 seconds
> or mroe for
Unfortunately Sparc/Solaris 2.7 needs minutes...
> the kernel to release the sockets your app was using. If your program exits with
> System.exit(), though,
> there doesn't seem to be a problem.
Another stupid question: if calling 'System.exit()' solves
the problem, wouldn't it be the right thing to trap Ctrl-C
with a signal handler which does the appropriate cleanup?
Jörg
More information about the Java
mailing list