]> git.argeo.org Git - gpl/argeo-slc.git/blob - server/org.argeo.slc.siteserver/bundles/org.argeo.slc.server.tomcat/conf/server.xml
Simple bundles packaging
[gpl/argeo-slc.git] / server / org.argeo.slc.siteserver / bundles / org.argeo.slc.server.tomcat / conf / server.xml
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <!-- Note: A "Server" is not itself a "Container", so you may not
19 define subcomponents such as "Valves" at this level.
20 Documentation at /docs/config/server.html
21 -->
22 <Server port="8005" shutdown="SHUTDOWN">
23
24 <!--APR library loader. Documentation at /docs/apr.html -->
25 <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
26 <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
27 <Listener className="org.apache.catalina.core.JasperListener" />
28 <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
29 <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
30 <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
31
32
33 <!-- A "Service" is a collection of one or more "Connectors" that share
34 a single "Container" Note: A "Service" is not itself a "Container",
35 so you may not define subcomponents such as "Valves" at this level.
36 Documentation at /docs/config/service.html
37 -->
38 <Service name="Catalina">
39
40 <!--The connectors can use a shared executor, you can define one or more named thread pools-->
41 <!--
42 <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
43 maxThreads="150" minSpareThreads="4"/>
44 -->
45
46
47 <!-- A "Connector" represents an endpoint by which requests are received
48 and responses are returned. Documentation at :
49 Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
50 Java AJP Connector: /docs/config/ajp.html
51 APR (HTTP/AJP) Connector: /docs/apr.html
52 Define a non-SSL HTTP/1.1 Connector on port 8080
53 -->
54 <Connector port="7070" protocol="HTTP/1.1"
55 connectionTimeout="20000"
56 redirectPort="7443" />
57 <!-- A "Connector" using the shared thread pool-->
58 <!--
59 <Connector executor="tomcatThreadPool"
60 port="8080" protocol="HTTP/1.1"
61 connectionTimeout="20000"
62 redirectPort="8443" />
63 -->
64 <!-- Define a SSL HTTP/1.1 Connector on port 8443
65 This connector uses the JSSE configuration, when using APR, the
66 connector should be using the OpenSSL style configuration
67 described in the APR documentation -->
68 <!--
69 <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
70 maxThreads="150" scheme="https" secure="true"
71 clientAuth="false" sslProtocol="TLS" />
72 -->
73
74 <!-- Define an AJP 1.3 Connector on port 8009 -->
75 <Connector port="7009" protocol="AJP/1.3" redirectPort="7443" />
76
77
78 <!-- An Engine represents the entry point (within Catalina) that processes
79 every request. The Engine implementation for Tomcat stand alone
80 analyzes the HTTP headers included with the request, and passes them
81 on to the appropriate Host (virtual host).
82 Documentation at /docs/config/engine.html -->
83
84 <!-- You should set jvmRoute to support load-balancing via AJP ie :
85 <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
86 -->
87 <Engine name="Catalina" defaultHost="localhost">
88
89 <!--For clustering, please take a look at documentation at:
90 /docs/cluster-howto.html (simple how to)
91 /docs/config/cluster.html (reference documentation) -->
92 <!--
93 <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
94 -->
95
96 <!-- The request dumper valve dumps useful debugging information about
97 the request and response data received and sent by Tomcat.
98 Documentation at: /docs/config/valve.html -->
99 <!--
100 <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
101 -->
102
103
104 <!-- Define the default virtual host
105 Note: XML Schema validation will not work with Xerces 2.2.
106 -->
107 <Host name="localhost" appBase="webapps"
108 unpackWARs="true" autoDeploy="true"
109 xmlValidation="false" xmlNamespaceAware="false">
110
111 <!-- SingleSignOn valve, share authentication between web applications
112 Documentation at: /docs/config/valve.html -->
113 <!--
114 <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
115 -->
116
117 <!-- Access log processes all example.
118 Documentation at: /docs/config/valve.html -->
119 <!--
120 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
121 prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
122 -->
123
124 </Host>
125 </Engine>
126 </Service>
127 </Server>