9.0.17 was used from
http://tomcat.10.x6.nabble.com/VOTE-Release-Apache-Tomcat-9-0-17-td5083815.html

I've created a new totally clean AWS instance with new domain name and
new Lets Encrypt certificates.
It's available here:
     temp-test-01.tk
Configuration:
OS: Windows Server 2012 R2 Base
Tomcat: totally new distribution of 9.0.16 windows x64 build
Java: Oracle jdk1.8.0_181 (you can download it from here
https://temp-test-01.tk/jdk1.8.0_181.7z)
Tests were done from multiple locations to exclude network devices problem.

Running the test with the same jdk1.8.0_181 on local PC, getting the
same resets.

Running the test with the jdk1.8.0_144 or latest jdk1.8.0_202 on local
PC, getting even worse (first socket gets reply and all others getting
timeout):
success: 1, read 196 bytes for: 88ms
success: 2, read -1 bytes for: 5234ms
success: 3, read -1 bytes for: 5231ms
success: 4, read -1 bytes for: 5247ms

success: 1, read 196 bytes for: 110ms
success: 2, read -1 bytes for: 5419ms
success: 3, read -1 bytes for: 5232ms
success: 4, read -1 bytes for: 5232ms





Full tomcat server.xml:
<?xml version="1.0" encoding="UTF-8"?>

<Server port="8005" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
  <Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
  <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="80" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="443" />

    <Connector port="443"
                connectionTimeout="5000"
                protocol="org.apache.coyote.http11.Http11Nio2Protocol"

sslImplementationName="org.apache.tomcat.util.net.openssl.OpenSSLImplementation"
            maxThreads="150"
                SSLEnabled="true">
        <SSLHostConfig>
                        <Certificate
                                certificateKeystoreFile="conf/keystore.jks"
                                certificateKeystoreType="JKS"
                                certificateKeyAlias="temp-test-01.tk"
                                certificateKeystorePassword=""
                                certificateKeyPassword=""
                        />
        </SSLHostConfig>
    </Connector>

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

    <Engine name="Catalina" defaultHost="localhost">

      <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 &quot;%r&quot; %s %b" />

      </Host>
    </Engine>
  </Service>
</Server>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to