-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David,
David kerber wrote: >> On Win XP there's shutdown.exe which you could call via Runtime#exec. My >> bet would be that shutdown.exe comes with Win 2003 too. >> > Thanks for the suggestion! Don't forget that a machine can always stay up when it's been requested to go down. You might want to have some external program that orchestrates this process: it tells your app to attempt to reboot the server, then it watches. If the server goes down and comes back up on a reasonable schedule (you decide), it's a success. Otherwise, flip the power on your power device (you /do/ have a controllable power device, don't you?!), wait a few seconds and flip the power back on. You should always have a cold-restart capability in the event that the hot-restart fails. Otherwise, you end up with machines that are stuck in shutdown mode, but are never shutting down. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHibR9CaO5/Lv0PARAl9rAKCgh/0nCM6rBCLNsuTbuLpC29yaLACfeK9A fsDfJhSwpE/pT9JoVm7xHWs= =UyTK -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]