I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to
automatically shut it down restart it. One way is to control it via
shutdown.bat startup.bat, and run these as scheduled tasks at (say)
3:30am and 3:31am. However, I've noticed that while shutdown.bat will
shut it down if it
From: Tom Burke [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 11:18
To: Tomcat Users List
Subject: Tomcat on Windows: advantages of running as a service?
I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to
automatically shut it down restart it. One way is to control it
The net start service name and net stop service name commands
will allow you to stop and start Windows services from the command line
(and thus from a batch script). You can get the service name from the
Services property window.
On Wed, 2005-10-12 at 06:18, Tom Burke wrote:
I'm running
Running from a service makes it a no brainer to start up tomcat when you reboot
the machine as it does it automatically.
Disadvantages I would see is that it hides the console and makes it difficult
to changes options like JAVA_OPTS.
-Original Message-
From: Ben Souther
Thanks to Peter and other who made this, in retrospect, obvious
suggestion! I'm pleased to say it works perfectly.
Tom Burke
- Original Message -
From: Peter Crowther [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, October 12, 2005 11:49 AM