澳门新葡新京官方网站

The Server Component

Table of Contents

Introduction

A Server element represents the entire Catalina servlet container. Therefore, it must be the single outermost element in the conf/server.xml澳门新葡新京官方网站 configuration file. Its attributes represent the characteristics of the servlet container as a whole.

Attributes

Common Attributes

All implementations of Server澳门新葡新京官方网站 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.

address

The TCP/IP address on which this server waits for a shutdown command. If no address is specified, localhost is used.

port

The TCP/IP port number on which this server waits for a shutdown command. Set to -1澳门新葡新京官方网站 to disable the shutdown port.

澳门新葡新京官方网站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.

shutdown

The command string that must be received via a TCP/IP connection to the specified port number, in order to shut down Tomcat.

Standard Implementation

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):

Attribute Description

Nested Components

The following components may be nested inside a Server澳门新葡新京官方网站 element:

Special Features

There are no special features associated with a Server.

Comments

Notice: This comments section collects your suggestions on improving documentation for Apache Tomcat.

If you have trouble and need help, read page and ask your question on the tomcat-users . Do not ask such questions here. This is not a Q&A section.

The Apache Comments System is explained here澳门新葡新京官方网站. Comments may be removed by our moderators if they are either implemented or considered invalid/off-topic.

澳门威尼斯app下载-澳门新葡新京官方网站 新葡萄京娱乐场app_新葡萄京官网-首恶 55402com永利-永利402com官方澳门新葡新京官方网站 千赢官网娱乐网站登录-澳门新葡新京官方网站 库博体育-澳门新葡新京官方网站 im体育app-澳门新葡新京官方网站 365bet亚洲官方投注-澳门新葡新京官方网站 新葡的京集团350vip-官网澳门新葡新京官方网站 澳门拉斯维加斯线上游戏_澳门新葡新京官方网站 金沙-金沙澳门官网