You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Brill Pappin <br...@jmonkey.com> on 1999/12/15 22:23:45 UTC
Tomcat Start/Stop UI
I've been working on a little bit of code for starting/stopping Tomcat, in a
UI environment...
Its still a little rough, and the bounce command does not work properly
yet... but its well on the way.
If people like it, I'd like to add bean support to the Startup and Shutdown
classes so external applications can receive status events etc, from
commands.
Download it from:
http://www.jmonkey.com/~bpappin/tomcat_control_src.jar
Just add it to your tomcat source tree in org.apache.tomcat.shell.ctrl, and
run Ant.
The command is: java org.apache.tomcat.shell.ctrl.Tomcat
and any options sent to Tomcat will be passed to Startup/Shutdown.
I've included the bat file I use to start it.
I don't know if anyone has seen it, but JRun uses something like this to
start and stop on windows... it uses a native portion to sit in the task
tray, instead of the task bar. On NT the UI communicates with the server as
a service, on windows 95/98, its a simple application.
BTW- I have no idea how it looks on other systems besides windows, I haven't
tested it anywhere.
- Brill Pappin
www.jmonkey.com
"The sooner you fall behind,
the more time you will have
to catch up."