BVB Source Codes

che Show server.xml Source code

Return Download che: download server.xml Source code - Download che Source code - Type:.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="4405" shutdown="SHUTDOWN">
  23.   <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
  24.   <!-- Security listener. Documentation at /docs/config/listeners.html
  25.  <Listener className="org.apache.catalina.security.SecurityListener" />
  26.  -->
  27.   <!--APR library loader. Documentation at /docs/apr.html >
  28.  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
  29.  -->
  30.   <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  31.   <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  32.   <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  33.   <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
  34.   <Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPortPlatform="32002"
  35.              rmiServerPortPlatform="32102"/>
  36.  
  37.   <!-- Global JNDI resources
  38.       Documentation at /docs/jndi-resources-howto.html
  39.  -->
  40.   <GlobalNamingResources>
  41.     <!-- Editable user database that can also be used by
  42.         UserDatabaseRealm to authenticate users
  43.    -->
  44.     <!--Resource name="UserDatabase" auth="Container"
  45.              type="org.apache.catalina.UserDatabase"
  46.              description="User database that can be updated and saved"
  47.              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
  48.              pathname="conf/tomcat-users.xml" /-->
  49.   </GlobalNamingResources>
  50.  
  51.   <!-- A "Service" is a collection of one or more "Connectors" that share
  52.       a single "Container" Note:  A "Service" is not itself a "Container",
  53.       so you may not define subcomponents such as "Valves" at this level.
  54.       Documentation at /docs/config/service.html
  55.   -->
  56.   <Service name="Catalina">
  57.  
  58.     <!--The connectors can use a shared executor, you can define one or more named thread pools-->
  59.     <!--
  60.    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
  61.        maxThreads="150" minSpareThreads="4"/>
  62.    -->
  63.  
  64.  
  65.     <!-- A "Connector" represents an endpoint by which requests are received
  66.         and responses are returned. Documentation at :
  67.         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
  68.         Java AJP  Connector: /docs/config/ajp.html
  69.         APR (HTTP/AJP) Connector: /docs/apr.html
  70.         Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
  71.    -->
  72.       <Connector port="4401" protocol="org.apache.coyote.http11.Http11NioProtocol"
  73.                 connectionTimeout="20000"
  74.                 maxThreads="300"
  75.                 compression="on"
  76.                 compressionMinSize="2048"
  77.                 noCompressionUserAgents=".*MSIE 6.*"
  78.                 compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/json,application/javascript"
  79.                 redirectPort="8443"/>
  80.     <!-- A "Connector" using the shared thread pool-->
  81.     <!--
  82.    <Connector executor="tomcatThreadPool"
  83.               port="8080" protocol="HTTP/1.1"
  84.               connectionTimeout="20000"
  85.               redirectPort="8443" />
  86.    -->
  87.     <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
  88.         This connector uses the NIO implementation that requires the JSSE
  89.         style configuration. When using the APR/native implementation, the
  90.         OpenSSL style configuration is required as described in the APR/native
  91.         documentation -->
  92.     <!--
  93.    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
  94.               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
  95.               clientAuth="false" sslProtocol="TLS" />
  96.    -->
  97.  
  98.     <!-- Define an AJP 1.3 Connector on port 8009 -->
  99.     <!--Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /-->
  100.  
  101.  
  102.     <!-- An Engine represents the entry point (within Catalina) that processes
  103.         every request.  The Engine implementation for Tomcat stand alone
  104.         analyzes the HTTP headers included with the request, and passes them
  105.         on to the appropriate Host (virtual host).
  106.         Documentation at /docs/config/engine.html -->
  107.  
  108.     <!-- You should set jvmRoute to support load-balancing via AJP ie :
  109.    <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
  110.    -->
  111.     <Engine name="Catalina" defaultHost="localhost">
  112.  
  113.       <!--For clustering, please take a look at documentation at:
  114.          /docs/cluster-howto.html  (simple how to)
  115.          /docs/config/cluster.html (reference documentation) -->
  116.       <!--
  117.      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
  118.      -->
  119.  
  120.       <!-- Use the LockOutRealm to prevent attempts to guess user passwords
  121.           via a brute-force attack -->
  122.       <Realm className="org.apache.catalina.realm.LockOutRealm">
  123.         <!-- This Realm uses the UserDatabase configured in the global JNDI
  124.             resources under the key "UserDatabase".  Any edits
  125.             that are performed against this UserDatabase are immediately
  126.             available for use by the Realm.  -->
  127.         <!--Realm className="org.apache.catalina.realm.UserDatabaseRealm"
  128.               resourceName="UserDatabase"/-->
  129.       </Realm>
  130.  
  131.       <Host name="localhost"  appBase="webapps"
  132.            unpackWARs="true" autoDeploy="false">
  133.  
  134.         <!-- SingleSignOn valve, share authentication between web applications
  135.             Documentation at: /docs/config/valve.html -->
  136.         <!--
  137.        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
  138.        -->
  139.  
  140.         <!-- Access log processes all example.
  141.             Documentation at: /docs/config/valve.html
  142.             Note: The pattern used is equivalent to using pattern="common" -->
  143.         <Valve className="ch.qos.logback.access.tomcat.LogbackValve" quiet="true"
  144.               filename="${catalina.home}/conf/logback-access-localhost.xml" />
  145.  
  146.       </Host>
  147.     </Engine>
  148.   </Service>
  149. </Server>
  150.  
downloadserver.xml Source code - Download che Source code
Related Source Codes/Software:
Gource - oftware version control visualization ... 2017-01-10
FDFullscreenPopGesture - A UINavigationController's category to enable full... 2017-01-10
node-style-guide - A guide for styling your node.js / JavaScript code... 2017-01-09
ImageOptim - GUI image optimizer for Mac htt... 2017-01-09
falcon - Falcon is a low-level, high-performance Python fra... 2017-01-09
notepad-plus-plus - Notepad++ official repository h... 2017-01-10
waterline - An adapter-based ORM for Node.js with support for ... 2017-01-10
Workerman - An asynchronous event driven PHP framework for eas... 2017-01-10
structor - An advanced visual editor for React components ... 2017-01-10
golearn - Machine Learning for Go 2017-01-10
mongo-express - Web-based MongoDB admin interface, written with No... 2017-05-17
XCL-Charts - Android charting libraries (XCL-Charts is a free c... 2017-05-17
scrollMonitor - A simple and fast API to monitor elements as you s... 2017-05-16
XCDYouTubeKit - YouTube video player for iOS, tvOS and macOS 2017-05-16
rails-erd - Generate Entity-Relationship Diagrams for Rails ap... 2017-05-16
np - A better `npm publish` 2017-05-16
android - Smartisan open source code for full build.(repo ma... 2017-05-16
word_cloud - A little word cloud generator in Pytho 2017-05-16
mobileplayer-ios - 2017-05-16
Destroy-Windows-10-Spying - Destroy Windows Spying tool ... 2017-05-15

 Back to top