525c43981f29c6eddab208c4e0dcc7d17d2d3a8c
[bottlenecks.git] / testsuites / rubbos / rubbos_scripts / 1-1-1 / tomcat_conf / server.xml
1
2 <Server port="8005" shutdown="SHUTDOWN">
3
4   <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
5
6   <!-- Global JNDI resources -->
7   <GlobalNamingResources>
8
9     <!-- Test entry for demonstration purposes -->
10     <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
11
12     <!-- Editable user database that can also be used by
13          UserDatabaseRealm to authenticate users -->
14     <Resource name="UserDatabase" auth="Container"
15               type="org.apache.catalina.UserDatabase"
16        description="User database that can be updated and saved"
17            factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
18           pathname="conf/tomcat-users.xml" />
19
20   </GlobalNamingResources>
21
22
23   <!-- Define the Tomcat Stand-Alone Service -->
24   <Service name="Catalina">
25
26     <!-- A "Connector" represents an endpoint by which requests are received
27          and responses are returned.  Each Connector passes requests on to the
28          associated "Container" (normally an Engine) for processing.
29     -->
30
31     <!-- Define a non-SSL HTTP/1.1 Connector on port 2117 (default 8080) -->
32     <Connector port="8080" maxHttpHeaderSize="8192"
33                maxThreads="330" minSpareThreads="5" maxSpareThreads="50"
34                enableLookups="false" redirectPort="8443" acceptCount="6000"
35                connectionTimeout="20000" disableUploadTimeout="true" />
36
37     <!-- Define an AJP 1.3 Connector on port 8009 -->
38     <Connector port="8009"
39                maxThreads="330" minSpareThreads="5" maxSpareThreads="50"
40                acceptCount="6000" redirectPort="8443" protocol="AJP/1.3" />
41
42     <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
43     <!-- See proxy documentation for more information about using this. -->
44     <!--
45     <Connector port="8082"
46                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
47                enableLookups="false" acceptCount="100" connectionTimeout="20000"
48                proxyPort="80" disableUploadTimeout="true" />
49     -->
50
51     <!-- An Engine represents the entry point (within Catalina) that processes
52          every request.  The Engine implementation for Tomcat stand alone
53          analyzes the HTTP headers included with the request, and passes them
54          on to the appropriate Host (virtual host). -->
55
56     <!-- Define the top level container in our container hierarchy -->
57     <Engine jvmRoute="TOMCAT1" name="Catalina" defaultHost="localhost">
58
59       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
60              resourceName="UserDatabase"/>
61
62       <!-- Define the default virtual host -->
63
64       <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
65
66    <!--    <Context path="" docBase="webapps" debug="0" reloadable="true"/> -->
67
68         <Valve className="org.apache.catalina.valves.AccessLogValve"
69                  directory="logs"  prefix="localhost_access_log." suffix=".txt"
70                  pattern="common" resolveHosts="false"/>
71       </Host>
72
73
74     </Engine>
75
76   </Service>
77
78 </Server>
79