Markus Schönhaber wrote:
David kerber wrote:

What would I need to do to give me the ability to reboot a windows 2003 server machine under the control of my TC 5.5 app (JRE 1.5)? Is there a java system call I can use, or do I need to call an external routine/script to accomplish this?

I would be surprised if there was a standard Java function that shuts
down a machine.
That was my suspicion when googling turned up absolutely nothing.

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!
Regards
  mks
D




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to