차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| tomcat_9_-_conf_server.xml.cluster [2024/12/11 13:32] – 만듦 koov | tomcat_9_-_conf_server.xml.cluster [2026/10/27 11:14] (현재) – koov | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| + | ====== Tomcat 9 - conf/ | ||
| + | Tomcat 9 버전용 '' | ||
| + | |||
| + | Clustering 기동 환경 | ||
| + | |||
| + | <WRAP prewrap> | ||
| + | <code vim> | ||
| + | <?xml version=" | ||
| + | <!-- | ||
| + | Licensed to the Apache Software Foundation (ASF) under one or more | ||
| + | contributor license agreements. | ||
| + | this work for additional information regarding copyright ownership. | ||
| + | The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| + | (the " | ||
| + | the License. | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Unless required by applicable law or agreed to in writing, software | ||
| + | distributed under the License is distributed on an "AS IS" BASIS, | ||
| + | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| + | See the License for the specific language governing permissions and | ||
| + | limitations under the License. | ||
| + | --> | ||
| + | <!-- Note: A " | ||
| + | | ||
| + | | ||
| + | | ||
| + | <Server address=" | ||
| + | < | ||
| + | <!-- Security listener. Documentation at / | ||
| + | < | ||
| + | --> | ||
| + | <!-- APR connector and OpenSSL support using Tomcat Native --> | ||
| + | < | ||
| + | <!-- OpenSSL support using FFM API from Java 22 --> | ||
| + | <!-- < | ||
| + | <!-- Prevent memory leaks due to use of particular java/javax APIs--> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | |||
| + | <!-- Global JNDI resources | ||
| + | | ||
| + | --> | ||
| + | < | ||
| + | <!-- Editable user database that can also be used by | ||
| + | | ||
| + | --> | ||
| + | < | ||
| + | type=" | ||
| + | description=" | ||
| + | factory=" | ||
| + | pathname=" | ||
| + | </ | ||
| + | |||
| + | <!-- A " | ||
| + | a single " | ||
| + | so you may not define subcomponents such as " | ||
| + | | ||
| + | | ||
| + | <Service name=" | ||
| + | |||
| + | <!--The connectors can use a shared executor, you can define one or more named thread pools--> | ||
| + | <!-- | ||
| + | < | ||
| + | maxThreads=" | ||
| + | --> | ||
| + | |||
| + | |||
| + | <!-- A " | ||
| + | and responses are returned. Documentation at : | ||
| + | Java HTTP Connector: / | ||
| + | Java AJP Connector: / | ||
| + | APR (HTTP/AJP) Connector: / | ||
| + | | ||
| + | --> | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | /> | ||
| + | <!-- A " | ||
| + | <!-- | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | /> | ||
| + | --> | ||
| + | <!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443 | ||
| + | This connector uses the NIO implementation. The default | ||
| + | | ||
| + | | ||
| + | | ||
| + | the SSLImplementation selected. JSSE style configuration is used below. | ||
| + | --> | ||
| + | <!-- | ||
| + | < | ||
| + | | ||
| + | | ||
| + | > | ||
| + | < | ||
| + | < | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | --> | ||
| + | <!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2 | ||
| + | This connector uses the APR/native implementation which always uses | ||
| + | | ||
| + | | ||
| + | | ||
| + | --> | ||
| + | <!-- | ||
| + | < | ||
| + | | ||
| + | | ||
| + | > | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | --> | ||
| + | |||
| + | <!-- Define an AJP 1.3 Connector on port 8009 --> | ||
| + | <!-- | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | /> | ||
| + | --> | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | /> | ||
| + | |||
| + | <!-- An Engine represents the entry point (within Catalina) that processes | ||
| + | every request. | ||
| + | | ||
| + | on to the appropriate Host (virtual host). | ||
| + | | ||
| + | |||
| + | <!-- You should set jvmRoute to support load-balancing via AJP ie : | ||
| + | <Engine name=" | ||
| + | --> | ||
| + | <Engine name=" | ||
| + | |||
| + | <!--For clustering, please take a look at documentation at: | ||
| + | / | ||
| + | / | ||
| + | <!-- | ||
| + | <Cluster className=" | ||
| + | --> | ||
| + | <Cluster className=" | ||
| + | | ||
| + | |||
| + | <Manager className=" | ||
| + | | ||
| + | | ||
| + | |||
| + | <Channel className=" | ||
| + | <!-- multicast membership --> | ||
| + | <!-- | ||
| + | < | ||
| + | address=" | ||
| + | port=" | ||
| + | frequency=" | ||
| + | dropTime=" | ||
| + | /> | ||
| + | --> | ||
| + | < | ||
| + | <Member className=" | ||
| + | port=" | ||
| + | host=" | ||
| + | uniqueId=" | ||
| + | <Member className=" | ||
| + | port=" | ||
| + | host=" | ||
| + | uniqueId=" | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | address=" | ||
| + | port=" | ||
| + | autoBind=" | ||
| + | selectorTimeout=" | ||
| + | maxThreads=" | ||
| + | /> | ||
| + | |||
| + | <Sender className=" | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <!-- if use StaticMembership enable TcpPingInterceptor --> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | | ||
| + | </ | ||
| + | |||
| + | <Valve className=" | ||
| + | | ||
| + | <Valve className=" | ||
| + | |||
| + | <!-- war 자동 배포기능은 가급적 사용하지 않도록 한다. --> | ||
| + | <!-- | ||
| + | < | ||
| + | tempDir="/ | ||
| + | deployDir="/ | ||
| + | watchDir="/ | ||
| + | watchEnabled=" | ||
| + | --> | ||
| + | |||
| + | < | ||
| + | </ | ||
| + | |||
| + | <!-- Use the LockOutRealm to prevent attempts to guess user passwords | ||
| + | via a brute-force attack --> | ||
| + | <Realm className=" | ||
| + | <!-- This Realm uses the UserDatabase configured in the global JNDI | ||
| + | | ||
| + | that are performed against this UserDatabase are immediately | ||
| + | | ||
| + | <Realm className=" | ||
| + | | ||
| + | </ | ||
| + | |||
| + | <Host name=" | ||
| + | appBase=" | ||
| + | workDir=" | ||
| + | |||
| + | <!-- SingleSignOn valve, share authentication between web applications | ||
| + | | ||
| + | <!-- | ||
| + | <Valve className=" | ||
| + | --> | ||
| + | |||
| + | <!-- Access log processes all example. | ||
| + | | ||
| + | Note: The pattern used is equivalent to using pattern=" | ||
| + | <Valve className=" | ||
| + | | ||
| + | | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||