https://bz.apache.org/bugzilla/show_bug.cgi?id=63078

--- Comment #9 from Peter <peter.beich...@lhsystems.com> ---
Hi,

her is my server.xml file. Like mentioned before, I do use exactly the same
with Tomcat 9.0.13 and 9.0.14. 
If I remove the attribute startStopThreads="0" from the host element,
autodeployment is working on 9.014.

Best regard
Peter
P.S. Thank's a lot for the support. I really do appreciate your work. Tomcat is
a great pice of software which I am using already for many years.

--
<?xml version="1.0" encoding="UTF-8"?>
<Server port="8005" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
  <!-- Security listener. Documentation at /docs/config/listeners.html
  <Listener className="org.apache.catalina.security.SecurityListener" />
  -->
  <!--APR library loader. Documentation at /docs/apr.html -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  <Listener
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  <Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener
className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

  <GlobalNamingResources>

  <!-- here are some Oracle DB resources which I removed ->

    <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="8080" protocol="HTTP/1.1" maxHttpHeaderSize="16384"
              
compressableMimeType="text/html,text/xml,text/css,text/javascript,
application/x-javascript,application/javascript"
               compression="on"
               connectionTimeout="20000"
               >
    </Connector>

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

      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
               resourceName="UserDatabase"/>
      </Realm>

      <!-- startStopThreads=0 set deployment Thread to number of available
cores -->
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true" startStopThreads="0">

        <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
               prefix="access_log" suffix=".txt"
               pattern="%h %l %u %t %D &quot;%r&quot; %s %b"
resolveHosts="false" />

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to