December 2002
Intermediate to advanced
588 pages
25h 57m
English
The startup and shutdown scripts merely call the important one: tomcat.sh. This script does two things:
Guesses a CLASSPATH
Passes command-line arguments to
org.apache.tomcat.startup.Tomcat. These include
start and stop, plus the
location of the appropriate server.xml file (see
later), which configures Tomcat. For instance, if you want to use
/etc/server_1.xml
with Tomcat and Apache, you would start Tomcat with:
bin/tomcat.sh start -f/etc/server_1.xml