tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Buchanan" <>
Subject RE: remote restart of server
Date Fri, 30 May 2003 13:06:51 GMT

If tomcat is running as a service, and you have an administrator account on
the machine (It's terribly difficult to give other users access to
start/stop services) you can start and stop the service in a number of ways.

>From a batch file I use netsvc.exe from the Windows 2000 Server resource Kit

But you don't need that to do it interactively;

Start->Run->MMC Ok
Console->Add/Remove Snapin->Add->Services
Choose "Another Computer" and specify the remote computer name.
Open the services tree and start/stop your service.

If you _really_ want to get privledges on your user account, this article
describes the convoluted way to do it (Group policies probably doesn't
apply, and Method 2 works for W2K even though this article is for W2003

Then you'd still do the mmc thing above, but you could only start/stop that

._. Brian

-----Original Message-----
From: mde []
Sent: Thursday, May 29, 2003 7:41 PM
To: Tomcat Users List
Subject: remote restart of server

Hi all,
  This is probably an OS question, not a Tomcat one, but possibly some of
you may have had to do this. I have tomcat 4.1.24 running on a Win2K server
on which I have partial access, meaning that tomcat's base directory has
been shared to me. I have no other access to this computer (no pc anywhere,
for example). I need to be able to run  a startup script on this machine,
remotely. But so far I can't get it to work.  If I run from the
shared drive, it just starts up my local version of tomcat because it's
treating that share just like another drive on my computer. I have
ColdFusion running on that server, too, and so I wrote a stop/start batch
file and then had ColdFusion execute it, but that didn't work, either
(although it did work on another machine).
  So, basically: how can I cycle tomcat remotely, given that I have access
to Tomcat's root directory but nothing more?



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message