Created
September 3, 2019 10:17
-
-
Save Karm/58188c6f9c9352d09a06baba591ea0fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Server port="8006" shutdown="SHUTDOWN" address="localhost" > | |
<Listener className="org.apache.catalina.startup.VersionLoggerListener" /> | |
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> | |
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> | |
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" /> | |
<GlobalNamingResources> | |
<Resource name="UserDatabase" auth="Container" | |
type="org.apache.catalina.UserDatabase" | |
description="User database that can be updated and saved" | |
factory="org.apache.catalina.users.MemoryUserDatabaseFactory" | |
pathname="conf/tomcat-users.xml" /> | |
</GlobalNamingResources> | |
<Service name="Catalina"> | |
<Connector | |
port="8081" | |
protocol="org.apache.coyote.http11.Http11NioProtocol" | |
maxThreads="150" | |
SSLEnabled="true" | |
connectionTimeout="20000" | |
sslImplementationName="org.apache.tomcat.util.net.jsse.JSSEImplementation" | |
keystoreFile="/home/karm/JWS/jws-5.2/tomcat/localhost.jks" | |
keystorePass="changeit" | |
address="localhost" | |
> | |
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /> | |
</Connector> | |
<Engine name="Catalina" defaultHost="localhost" jvmRoute="node1"> | |
<Realm className="org.apache.catalina.realm.LockOutRealm"> | |
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> | |
</Realm> | |
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> | |
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" | |
prefix="localhost_access_log" suffix=".txt" | |
pattern="%h %l %u %t "%r" %s %b" /> | |
</Host> | |
</Engine> | |
</Service> | |
</Server> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment