The Server Component
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 implement the
org.apache.catalina.Serverinterface. If no class name is specified, the standard implementation will be used.
The TCP/IP port number on which this server waits for a shutdown command. This connection must be initiated from the same server computer that is running this instance of JBoss Web.
The command string that must be received via a TCP/IP connection to the specified port number, in order to shut down JBoss Web.
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:
- Service - One or more service element.
- GlobalNamingResources - Configure the JNDI global resources for the server.
There are no special features associated with a Server.