The Server Component


[Introduction] [Common Attributes] [Standard Implementation Attributes] [Utility Components] [Special Features]

Introduction

A Server component represents the entire Catalina servlet container, including one or more nested Services.


Common Attributes

All implementations of the Server component support the following attributes:

Attribute Description
className Java class name of the implementation to use. This class must implement the org.apache.catalina.Server interface. If no class name is specified, the standard implementation will be used (org.apache.catalina.core.StandardServer).
port The TCP/IP port number on which this server waits for a shutdown command. The connection must be initiated from the same computer that is running Tomcat. This attribute is required.
shutdown The command string that must be received via a TCP/IP connection to the specified port number in order to shut down Tomcat. This attribute is required.

Standard Implementation Attributes

The standard implementation of the Server component also supports the following attributes:

Attribute Description

Utility Components

No utility components may be nested inside a Server. The only valid nested element is a Service, of which there may be one or more.


Special Features

There are no special features associated with a Server.