Links Top Level Elements Connectors Containers Nested Components | Apache Tomcat Configuration Reference服务器组件 |
Introduction |
一个Server(服务器)元素代表整个Catalina servlet容器。因此,它必须是conf/server.xml 配置文件里面的最外层元素。它的属性代表了这个servlet容器的总体特征。
|
Attributes |
Common Attributes |
Server(服务器)的所有实现支持下列属性:
Attribute | Description |
---|
className |
要使用的implementation的Java类名。这个类必须执行org.apache.catalina.Server 接口。如果没有指定类名,将使用标准实现。
| port |
TCP/IP端口数目,这个服务器在此等待关闭。这个连接必须从正在运行这个Tomcat实例的相同的服务器计算机上被初始化。
| shutdown |
要关闭Tomcat,必须通过TCP/IP连接到指定的端口数目来被接受的命令字符串。
|
|
|
|