tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <>
Subject Re: Rebooting server under program control
Date Tue, 23 Oct 2007 14:40:54 GMT
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.
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.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message