title: Single Tomcat GUI or Manager for multiple Tomcat instances
body: <p>I was going through <a href="https://tomcat.apache.org/tomcat-9.0-doc/windows-service-howto.html" rel="nofollow noreferrer">Tomcat setup for setting up multiple instances</a> but could not figure out how we can configure a single tomcat GUI or manager for all the instances so that i can have a list of applications that are setup on different tomcat instances.</p>
  
  <p>Please note that each of these instances have different applications running on different ports.</p>
  
  <p>Please help!! Also please let me know if its not feasible.</p>
  
  <hr>
  
  <p>Second approach: We can have apps listening on different ports by deploying them in separate appBase folders.</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;Service name="Catalina"&gt;
      &lt;Connector port="8080" protocol="HTTP/1.1"
             connectionTimeout="20000"
             redirectPort="8443" /&gt;
      &lt;!--&lt;Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /&gt;--&gt;
      &lt;Engine name="Catalina" defaultHost="localhost"&gt;
          &lt;Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/&gt;
          &lt;Realm className="org.apache.catalina.realm.LockOutRealm"&gt;
              &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/&gt;
          &lt;/Realm&gt;
  
          &lt;Host name="localhost"  appBase="webapps"
          unpackWARs="true" autoDeploy="true"&gt;
              &lt;Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
             prefix="localhost_access_log" suffix=".txt"
             pattern="%h %l %u %t &amp;quot;%r&amp;quot; %s %b" /&gt;
  
          &lt;/Host&gt;
      &lt;/Engine&gt;
  &lt;/Service&gt;
  &lt;Service name="Catalina2"&gt;
      &lt;Connector port="8081" protocol="HTTP/1.1"
             connectionTimeout="20000"
             redirectPort="8443" /&gt;
      &lt;!--&lt;Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /&gt;--&gt;
      &lt;Engine name="Catalina2" defaultHost="localhost"&gt;
          &lt;Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/&gt;
          &lt;Realm className="org.apache.catalina.realm.LockOutRealm"&gt;
              &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/&gt;
          &lt;/Realm&gt;
  
          &lt;Host name="localhost"  appBase="webapps2"
          unpackWARs="true" autoDeploy="true"&gt;
              &lt;Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
             prefix="localhost_access_log" suffix=".txt"
             pattern="%h %l %u %t &amp;quot;%r&amp;quot; %s %b" /&gt;
  
          &lt;/Host&gt;
      &lt;/Engine&gt;
  &lt;/Service&gt;
  </code></pre>
  
  <p>is it possible to view all those apps deployed in both appBase folders in one manager app?</p>