Speed up SouthboundIT through multi-threading test cases
[netvirt.git] / integrationtest / src / test / resources / tomcat-server.xml
1 <?xml version='1.0' encoding='utf-8'?>
2 <Server>
3   <!--APR library loader. Documentation at /docs/apr.html -->
4   <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
5   <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
6   <Listener className="org.apache.catalina.core.JasperListener" />
7   <!-- Prevent memory leaks due to use of particular java/javax APIs-->
8   <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
9   <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
10   <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
11
12   <Service name="Catalina">
13     <Connector port="8888" protocol="org.apache.coyote.http11.Http11NioProtocol"
14                connectionTimeout="20000"
15                redirectPort="8443" />
16
17     <!--
18             Please remove the comments around the following Connector tag to enable HTTPS Authentication support.
19             Remember to add a valid keystore in the configuration folder.
20             More info : http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration
21     -->
22
23     <!--
24        <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
25                   maxThreads="150" scheme="https" secure="true"
26                   clientAuth="false" sslProtocol="TLS"
27                   keystoreFile="configuration/keystore"
28                   keystorePass="changeit"/>
29     -->
30
31     <Engine name="Catalina" defaultHost="localhost">
32       <Host name="localhost" appBase=""
33             unpackWARs="false" autoDeploy="false"
34             deployOnStartup="false" createDirs="false">
35         <Realm className="org.opendaylight.controller.security.ControllerCustomRealm" />
36         <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
37
38         <!--
39         <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
40                prefix="web_access_log_" suffix=".txt" resolveHosts="false"
41                rotatable="true" fileDateFormat="yyyy-MM"
42                pattern="%{yyyy-MM-dd HH:mm:ss.SSS z}t - [%a] - %r"/>
43         -->
44
45       </Host>
46     </Engine>
47   </Service>
48 </Server>