Bin
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
andstop
, plus the location of the appropriate server.xml file (see later), which configures Tomcat. For instance, if you want to use /etc/server_1.xmlbin/tomcat.sh start -f/etc/server_1.xml
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.