On Mon, 2017-10-30 at 09:15 -0400, Christopher Schultz wrote:
> Dave,
> 
> Can you please post your <Cluster> and associated elements from
> conf/server.xml -- minus any secrets that may have crept in there?
> Also, what does your network look like? Any intermediates such as
> load
> balancers/firewalls? What about software firewalls?

Hi Chris - thanks for responding. 

This is all running withing a single machine with no firewall, so
nothing should be getting in the way network wise. 

Here's the my server.xml from one of the instances, with the comments
removed and IPs and Hostnames removed also. The IPs/Hostnames are the
same on the other server.xml, with just the Member and StaticMember
UniqueIDs and port number entries appropriately reversed. 

Dave

--
<?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="8080" protocol="HTTP/1.1" connectionTimeout="20000" 
redirectPort="8444" />
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    <Engine name="Catalina" defaultHost="XXXXX" jvmRoute="alpha">
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm" 
resourceName="UserDatabase" />
      </Realm>
      <Host name="XXXXX" appBase="webapps" unpackWARs="true" autoDeploy="true">
        <Cluster channelSendOptions="8" channelStartOptions="3" 
className="org.apache.catalina.ha.tcp.SimpleTcpCluster">
          <Manager className="org.apache.catalina.ha.session.DeltaManager" 
expireSessionsOnShutdown="false" notifyListenersOnReplication="true"></Manager>
          <Channel className="org.apache.catalina.tribes.group.GroupChannel">
            <Receiver address="xxx.xxx.xxx.xxx" autoBind="0" 
className="org.apache.catalina.tribes.transport.nio.NioReceiver" maxThreads="6" 
port="4000" selectorTimeout="5000"></Receiver>
            <Sender 
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
              <Transport 
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"></Transport>
            </Sender>
            <Interceptor 
className="org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor"></Interceptor>
            <Interceptor 
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"></Interceptor>
            <Interceptor 
className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor" 
/>
            <Interceptor 
className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor">
              <LocalMember 
className="org.apache.catalina.tribes.membership.StaticMember" 
domain="clustertest" 
uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"></LocalMember>
              <Member 
className="org.apache.catalina.tribes.membership.StaticMember" 
domain="clustertest" host="xxx.xxx.xxx.xxx" port="4001" securePort="-1" 
uniqueId="{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0}"></Member>
            </Interceptor>
            <Interceptor 
className="org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor"></Interceptor>
            <Interceptor 
className="org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor"></Interceptor>
          </Channel>
          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" 
filter=""></Valve>
          <Valve 
className="org.apache.catalina.ha.session.JvmRouteBinderValve"></Valve>
          <ClusterListener 
className="org.apache.catalina.ha.session.ClusterSessionListener" />
          <Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer" 
deployDir="/opt/tomcat85/instances/alpha/war-deploy/" 
tempDir="/opt/tomcat85/instances/alpha/war-temp/" 
watchDir="/opt/tomcat85/instances/alpha/war-listen/" 
watchEnabled="false"></Deployer>
        </Cluster>
        <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>



Reply via email to