7b93b3b024defdd1a8cb784b7223d9fa559a7480
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / deployment / src / main / release / 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="9482" shutdown="SHUTDOWN">
23     <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
24     <Listener SSLEngine="on" className="org.apache.catalina.core.AprLifecycleListener" />
25     <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
26     <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
27     <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
28     <GlobalNamingResources>
29         <Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
30             name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase" />
31     </GlobalNamingResources>
32     <Service name="Catalina">
33         <Connector connectionTimeout="20000" port="8482" protocol="HTTP/1.1" redirectPort="8443" />
34         <Connector port="8821" protocol="AJP/1.3" redirectPort="8443" />
35         <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
36             SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="true" 
37             keystoreFile="conf/server.p12" keystorePass="Changeme_123" keystoreType="PKCS12"
38             truststoreFile="conf/trust.jks" truststoreType="JKS" truststorePass="Changeme_123" 
39             sslProtocol="TLS"
40             ciphers="TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA" connectionTimeout="20000"/>
41
42         <Engine defaultHost="localhost" name="Catalina">
43             <Realm className="org.apache.catalina.realm.LockOutRealm">
44                 <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
45             </Realm>
46
47             <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
48                 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
49                     pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log" suffix=".txt" />
50                 <Context docBase="ROOT" path="" reloadable="true" />
51             </Host>
52         </Engine>
53     </Service>
54 </Server>