The Server Component
来源:互联网 发布:八卦八卦我牵挂 知乎 编辑:程序博客网 时间:2024/06/06 19:42
原文链接:点击打开链接
Apache Tomcat Configuration Reference
The Server Component
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.
一个server元素表示整个Catalina servelet容器。因此,它在conf/server.xml配置文件中必须是最外层的元素。它的属性代表着servlet容器所有特征。
Attributes:
Common Attributes
All implementations of Server support the following attributes:
所有的server实现都支持以下属性:
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.
表示实现了Java类的类名。这个class必须实现org.apache.catalina.Server接口。如果没有显式指定的类名,默认使用标准的实现类。
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 Tomcat. Set to port:
-1
to disable the shutdown port.
Note: Disabling the shutdown port works well when Tomcat is started using Apache Commons Daemon (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.
TCP/IP端口号被这个服务器用来接收关闭命令。这个连接必须的开始必须来自相同的运行着Tomcat实例的服务器。设置为-1可以关闭这个端口。
注意:当Tomcat正在使用 Apache Commons Daemon时关闭端口失效可以是服务器工作的更好。当使用标准的shell脚本它不能使用,因为它将阻止.bat|.sh a和 catalina.bat|.sh的关闭命令。
shutdown:The command string that must be received via a TCP/IP connection to the specified port number, in order to shut down Tomcat.
这个命令必须是通过TCP/IP连接到特定端口才能被接收,用于关闭Tomcat。
Standard Implemments
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):
I don't know why there isn't some sentences.
Nested Components
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.
Special Features
There are no special features associated with a Server.
- The Server Component
- Reuse the Component
- Navigating the Component Buffer
- The Sticky Component Framework
- The Dojo Tree component
- the component of reactjs
- ADF Faces RC - How-to use the Client and Server Listener Component
- 'Agent XPs' component is turned off as part of the security configuration for this server
- The required Server component failed to start so Tomcat is unable to start
- The required Server component failed to start so Tomcat is unable to start问题解决
- The required Server component failed to start so Tomcat is unable to start问题解决
- The required Server component failed to start so Tomcat is unable to start.
- The PeopleSoft Component Buffer and Component Processor
- tomcat报错:严重: The required Server component failed to start so Tomcat is unable to start. org.apache.
- The CORBA Component Model: Part 1, Evolving Towards Component Middleware
- 一些Server Component Pattern的概念
- Install the component Admin for tomcat
- Component Development for the Java Platform
- ubuntu解压命令
- 从零开始-边学边做-塔防游戏-七彩三国(四)--SDL集成
- Java的String中的subString()方法
- cppTest-2.1:内联函数与宏定义的比较
- cppTest-2.2:静态变量
- The Server Component
- cppTest-2.3:预处理命令
- vim命令
- VC2008中处理CStatic控件的单击STN_CLICKED消息
- linux MISC 驱动模型分析
- cppTest-3.0:指针相关-1(指针与const)
- Hibernate中SessionFactory配置
- cppTest-3.0:指针相关-1(指针与一维数组)
- UVA 1523 - Helicopter(暴力枚举)