W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: RFE: handling the bad ^C kills...

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Tue, 11 Jan 2000 17:54:25 +0100
Message-Id: <387B6041.6CBCF9D4@informatik.med.uni-giessen.de>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>

Hi !

----

Yves Lafon wrote:

> > I found a solution how to handle "jigsaw has been killed by ^C" problem:
> >
> > In JDK 1.3 beta java.lang.RunTime has a new method called
> > addShutDownHook() which can be used to implement a "fast" shutdown
> > mechanism...
> > Yves ? Benoit ? Any comments ?
>
> Sounds like something good! The best place to add this is in the
> ServerHandlerManager, so that it can call the shutdown method on all the
> ServerHandlers. The only problem is to write code for a jdk in beta, and
> not all platforms even have a jdk1.2 :(

I don't rememer it excactly - maybe the method was intrucudes for JDK 1.2...
does someone have this info ?

For JDK 1.1 there may be no solution (using this way), but this is life -
nothing is perfect :-)

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  gisburn@informatik.med.uni-giessen.de
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193 FAX +49 (0) 641/99-41359
Received on Tuesday, 11 January 2000 11:55:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT