Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 26821 invoked from network); 23 Oct 2007 14:41:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 14:41:42 -0000 Received: (qmail 1335 invoked by uid 500); 23 Oct 2007 14:41:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 1309 invoked by uid 500); 23 Oct 2007 14:41:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 1298 invoked by uid 99); 23 Oct 2007 14:41:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 07:41:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.140.77.184] (HELO mail.schoenhaber.de) (217.140.77.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 14:41:23 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.schoenhaber.de (Postfix) with ESMTP id E5196706917B for ; Tue, 23 Oct 2007 16:41:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at schoenhaber.de X-Spam-Score: -3.085 X-Spam-Level: Received: from mail.schoenhaber.de ([127.0.0.1]) by localhost (mail.schoenhaber.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2wQiRWCRJwL for ; Tue, 23 Oct 2007 16:40:54 +0200 (CEST) Received: from [192.168.42.10] (unknown [192.168.42.10]) by mail.schoenhaber.de (Postfix) with ESMTP id E03CC706917A for ; Tue, 23 Oct 2007 16:40:54 +0200 (CEST) Message-ID: <471E07F6.8020400@schoenhaber.de> Date: Tue, 23 Oct 2007 16:40:54 +0200 From: =?UTF-8?B?TWFya3VzIFNjaMO2bmhhYmVy?= Reply-To: users@tomcat.apache.org User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20071008 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Re: Rebooting server under program control References: <471DEE19.4050909@verizon.net> In-Reply-To: <471DEE19.4050909@verizon.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-3.085 tagged_above=-9999.9 required=5 tests=[ALL_TRUSTED=-1.8, AWL=-0.175, BAYES_05=-1.11] 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. Regards mks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org