The Server Component
Table of Contents
A Server element represents the entire Catalina
servlet container. Therefore, it must be the single outermost element
conf/server.xml澳门新葡新京官方网站 configuration file. Its attributes
represent the characteristics of the servlet container as a whole.
All implementations of Server澳门新葡新京官方网站 support the following attributes:
Java class name of the implementation to use. This class must
The TCP/IP address on which this server waits for a shutdown
command. If no address is specified,
The TCP/IP port number on which this server waits for a shutdown
command. Set to
澳门新葡新京官方网站Note: Disabling the shutdown port works well when Tomcat is started using (running as a service on Windows or with jsvc on un*xes). It cannot be used when running Tomcat with the standard shell scripts though, as it will prevent shutdown.bat|.sh and catalina.bat|.sh from stopping it gracefully.
The command string that must be received via a TCP/IP connection to the specified port number, in order to shut down Tomcat.
The standard implementation of Server is org.apache.catalina.core.StandardServer澳门新葡新京官方网站. It supports the following additional attributes (in addition to the common attributes listed above):
The following components may be nested inside a Server澳门新葡新京官方网站 element:
There are no special features associated with a Server.