|
154 | 154 | </Host> |
155 | 155 | </Engine> |
156 | 156 | </Service> |
157 | | - |
158 | | - <Service name="Catalina7080"> |
159 | | - |
160 | | - <!--The connectors can use a shared executor, you can define one or more named thread pools--> |
161 | | - <Executor name="tomcatThreadPool-internal" namePrefix="catalina-exec-int-" |
162 | | - maxThreads="150" minSpareThreads="25"/> |
163 | | - |
164 | | - <!-- A "Connector" represents an endpoint by which requests are received |
165 | | - and responses are returned. Documentation at : |
166 | | - Java HTTP Connector: /docs/config/http.html (blocking & non-blocking) |
167 | | - Java AJP Connector: /docs/config/ajp.html |
168 | | - APR (HTTP/AJP) Connector: /docs/apr.html |
169 | | - Define a non-SSL HTTP/1.1 Connector on port 8080 |
170 | | - --> |
171 | | - <!-- |
172 | | - <Connector port="8080" protocol="HTTP/1.1" |
173 | | - connectionTimeout="20000" |
174 | | - redirectPort="8443" /> |
175 | | - --> |
176 | | - <!-- A "Connector" using the shared thread pool--> |
177 | | - <!-- |
178 | | - <Connector executor="tomcatThreadPool" |
179 | | - port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" |
180 | | - connectionTimeout="20000" disableUploadTimeout="true" |
181 | | - acceptCount="150" enableLookups="false" maxThreads="150" |
182 | | - maxHttpHeaderSize="8192" redirectPort="8443" /> |
183 | | - --> |
184 | | - <!-- Define a SSL HTTP/1.1 Connector on port 8443 |
185 | | - This connector uses the JSSE configuration, when using APR, the |
186 | | - connector should be using the OpenSSL style configuration |
187 | | - described in the APR documentation --> |
188 | | - <!-- |
189 | | - <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" |
190 | | - maxThreads="150" scheme="https" secure="true" |
191 | | - clientAuth="false" sslProtocol="TLS" |
192 | | - keystoreType="PKCS12" |
193 | | - keystoreFile="conf/cloud-localhost.pk12" |
194 | | - keystorePass="password" |
195 | | - /> |
196 | | - --> |
197 | | - |
198 | | - <!-- Listen on 6443 instead of 8443 because tomcat6 will change 8443 to a random one when CATALINA_HOME is not /usr/share/tomcat6 --> |
199 | | - <Connector executor="tomcatThreadPool-internal" port="5443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true" |
200 | | - maxThreads="150" scheme="https" secure="true" |
201 | | - clientAuth="false" sslProtocol="TLS" |
202 | | - keystoreType="JKS" |
203 | | - keystoreFile="/etc/cloudstack/management/cloudmanagementserver.keystore" |
204 | | - keystorePass="vmops.com"/> |
205 | | - |
206 | | - <!-- Define an AJP 1.3 Connector on port 20400 --> |
207 | | - <Connector port="20400" protocol="AJP/1.3" redirectPort="6443" /> |
208 | | - |
209 | | - |
210 | | - <!-- An Engine represents the entry point (within Catalina) that processes |
211 | | - every request. The Engine implementation for Tomcat stand alone |
212 | | - analyzes the HTTP headers included with the request, and passes them |
213 | | - on to the appropriate Host (virtual host). |
214 | | - Documentation at /docs/config/engine.html --> |
215 | | - |
216 | | - <!-- You should set jvmRoute to support load-balancing via AJP ie : |
217 | | - <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1"> |
218 | | - --> |
219 | | - <Engine name="Catalina7080" defaultHost="localhost"> |
220 | | - |
221 | | - <!--For clustering, please take a look at documentation at: |
222 | | - /docs/cluster-howto.html (simple how to) |
223 | | - /docs/config/cluster.html (reference documentation) --> |
224 | | - <!-- |
225 | | - <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> |
226 | | - --> |
227 | | - |
228 | | - <!-- The request dumper valve dumps useful debugging information about |
229 | | - the request and response data received and sent by Tomcat. |
230 | | - Documentation at: /docs/config/valve.html --> |
231 | | - <!-- |
232 | | - <Valve className="org.apache.catalina.valves.RequestDumperValve"/> |
233 | | - --> |
234 | | - |
235 | | - <!-- This Realm uses the UserDatabase configured in the global JNDI |
236 | | - resources under the key "UserDatabase". Any edits |
237 | | - that are performed against this UserDatabase are immediately |
238 | | - available for use by the Realm. --> |
239 | | - <Realm className="org.apache.catalina.realm.UserDatabaseRealm" |
240 | | - resourceName="UserDatabase"/> |
241 | | - |
242 | | - <!-- Define the default virtual host |
243 | | - Note: XML Schema validation will not work with Xerces 2.2. |
244 | | - --> |
245 | | - <Host name="localhost" appBase="webapps7080" |
246 | | - unpackWARs="true" autoDeploy="true" |
247 | | - xmlValidation="false" xmlNamespaceAware="false"> |
248 | | - |
249 | | - <!-- SingleSignOn valve, share authentication between web applications |
250 | | - Documentation at: /docs/config/valve.html --> |
251 | | - <!-- |
252 | | - <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> |
253 | | - --> |
254 | | - |
255 | | - <!-- Access log processes all example. |
256 | | - Documentation at: /docs/config/valve.html --> |
257 | | - <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" |
258 | | - prefix="access_log." suffix=".txt" pattern="common" resolveHosts="false"/> |
259 | | - |
260 | | - </Host> |
261 | | - </Engine> |
262 | | - </Service> |
263 | 157 | </Server> |
0 commit comments