You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martijn Bos <ma...@maboc.nl> on 2015/09/08 13:28:32 UTC

WARNING [Tribes-Task-Receiver-3] org.apache.catalina.ha.session.ClusterSessionListener.messageReceived Context manager doesn't exist

Hi all,

I tried to create a cluster two hosts. At which I did not succeeded
completely.

OS(both systems):
SMP Debian 3.16.7

java (both systems):
martijn@bloemkool:~/apache-tomcat-8.0.26/conf$ java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Tomcat (both systems):
Apache Tomcat/8.0.26

I installed 2 tomcat's
One on host bloemkool.bos.
The 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="8080" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="8443" />
    <Engine name="Catalina" defaultHost="bloemkool.bos"
jvmRoute="bloemkoolRoute">
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
      </Realm>
      <Host name="bloemkool.bos" appBase="webapps" unpackWARs="true"
autoDeploy="true">
      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="8">
        <Manager className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
          <Channel
className="org.apache.catalina.tribes.group.GroupChannel">
            <Membership
className="org.apache.catalina.tribes.membership.McastService"
                        address="228.0.0.4"
                        port="45564"
                        frequency="500"
                        dropTime="3000"/>
            <Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                      address="192.168.2.123"
                      port="4000"
                      autoBind="100"
                      selectorTimeout="5000"
                      maxThreads="6"/>
            <Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
              <Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
            </Sender>
            <Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
            <Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>

          </Channel>
          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=""/>
          <Valve
className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
          <Deployer
className="org.apache.catalina.ha.deploy.FarmWarDeployer"
                    tempDir="/tmp/war-temp/"
                    deployDir="${catalina.base}/webapps"
                    watchDir="/tmp/war-listen/"
                    watchEnabled="true"/>
          <ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
        </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>
---------------------------------------------

And one on broccoli.bos.
The 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="8080" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="8443" />
    <Engine name="Catalina" defaultHost="broccoli.bos"
jvmRoute="broccoliRoute">
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
      </Realm>
      <Host name="broccoli.bos"  appBase="webapps" unpackWARs="true"
autoDeploy="true">
        <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="8">
          <Manager
className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
            <Channel
className="org.apache.catalina.tribes.group.GroupChannel">
              <Membership
className="org.apache.catalina.tribes.membership.McastService"
                          address="228.0.0.4"
                          port="45564"
                          frequency="500"
                          dropTime="3000"/>
              <Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                        address="192.168.2.124"
                        port="4000"
                        autoBind="100"
                        selectorTimeout="5000"
                        maxThreads="6"/>
              <Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
                <Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
              </Sender>
              <Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
              <Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>

            </Channel>
            <Valve
className="org.apache.catalina.ha.tcp.ReplicationValve" filter=""/>
            <Valve
className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
            <Deployer
className="org.apache.catalina.ha.deploy.FarmWarDeployer"
                      tempDir="/tmp/war-temp/"
                      deployDir="${catalina.base}/webapps"
                      watchDir="/tmp/war-listen/"
                      watchEnabled="true"/>
            <ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
          </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>
---------------------------------------------

I see some communication between the nodes, which indicates to me that a
lot is going OK.

However, if I deploy a webapp on one host, I'll get a warning on the
other host and the webapp will not be deployed:

Logging from the host on which I deploy:
---------------------------------------------
08-Sep-2015 12:55:35.144 INFO [http-nio-8080-exec-9]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web
application archive /home/martijn/apache-tomcat-8.0.26/webapps/hw2.war
08-Sep-2015 12:55:35.291 WARNING [http-nio-8080-exec-9]
org.apache.catalina.startup.SetContextPropertiesRule.begin
[SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to
'true' did not find a matching property.
08-Sep-2015 12:55:35.576 INFO [http-nio-8080-exec-9]
org.apache.catalina.ha.session.DeltaManager.startInternal Register
manager /hw2 to cluster element Host with name bloemkool.bos
08-Sep-2015 12:55:35.577 INFO [http-nio-8080-exec-9]
org.apache.catalina.ha.session.DeltaManager.startInternal Starting
clustering manager at /hw2
08-Sep-2015 12:55:35.736 INFO [http-nio-8080-exec-9]
org.apache.catalina.ha.session.DeltaManager.getAllClusterSessions
Manager [/hw2], requesting session state from
org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 2,
124}:4000,{192, 168, 2, 124},4000, alive=210612, securePort=-1, UDP
Port=-1, id={-43 -36 -16 -70 71 113 74 112 -79 39 -47 -84 51 -124 72 -70
}, payload={}, command={}, domain={}, ]. This operation will timeout if
no session state has been received within 60 seconds.
08-Sep-2015 12:55:35.857 WARNING [http-nio-8080-exec-9]
org.apache.catalina.ha.session.DeltaManager.waitForSendAllSessions
Manager [/hw2]: No context manager send at 9/8/15 12:55 PM received in
260 ms.
08-Sep-2015 12:55:35.867 INFO [http-nio-8080-exec-9]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive /home/martijn/apache-tomcat-8.0.26/webapps/hw2.war
has finished in 722 ms
08-Sep-2015 12:55:35.867 INFO [http-nio-8080-exec-9]
org.apache.catalina.core.ApplicationContext.log HTMLManager: list:
Listing contexts for virtual host 'bloemkool.bos'
---------------------------------------------

And logging from the host which fails:
---------------------------------------------
08-Sep-2015 12:55:35.789 WARNING [Tribes-Task-Receiver-3]
org.apache.catalina.ha.session.ClusterSessionListener.messageReceived
Context manager doesn't exist:/hw2
---------------------------------------------

I'm a bit out of options. Google did not came up with a solution (at
least not for me).

Can someone point me in the right direction (or is there a solution
available?).

Any pointers or advice are greatly appreciated.


Best Regards,
Martijn


Re: cluster isn't deploying apps to all members

Posted by Martijn Bos <ma...@maboc.nl>.

On 10-09-15 17:43, Christopher Schultz wrote:
> Martijn,
> 
> On 9/10/15 7:39 AM, Martijn Bos wrote:
>> I think I "solved" it myself.
> 
>> My problem was that when I deployed a webaap on one of the 
>> cluster-members it didn't get deployed on the other member. I did
>> this with the manager web-application.
> 
>> However when I drop a war-file in the watchDir of the
>> farmWarDeployer it gets deployed to the other member. (Apperantly
>> by memory or so. Since I do not see the war file appearing on in
>> the tmpDir, deployDir or watchDir on the other cluster member)
> 
>> Can somone confirm that deploying through the manager-webapp will
>> not deploy to all the cluster members? Otherwise there is still
>> something wrong with my setup.
> 
> Yes, the manager web application has no knowledge of the existence of
> the cluster. You need to use FarmWebDeployer if you want to push the
> WAR file to multiple cluster members.
> 

Ah great. Then I'm not going insane afterall:-)


>> btw. I see that the farmWarDeployer is not completely stable. A
>> few times I noticed that the app is not deployed on the other
>> member, trying one more time, and it does succeed.
> 
> I believe the FWD doesn't get a huge amount of use in the wild. If
> you're willing to instrument the FWD and make suggestions for
> improvement, I'm sure we can get any bugs worked-out.
> 

That is actually very tempting. However my JAVA skills are moderate at
best, so I'm not to sure whether I should proceed in that direction.
On the other hand.... it doesn't hurt to have a look at the code, and
see what I can do.

Best Regards,
Martijn


> -chris
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


Re: cluster isn't deploying apps to all members

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Martijn,

On 9/10/15 7:39 AM, Martijn Bos wrote:
> I think I "solved" it myself.
> 
> My problem was that when I deployed a webaap on one of the 
> cluster-members it didn't get deployed on the other member. I did
> this with the manager web-application.
> 
> However when I drop a war-file in the watchDir of the
> farmWarDeployer it gets deployed to the other member. (Apperantly
> by memory or so. Since I do not see the war file appearing on in
> the tmpDir, deployDir or watchDir on the other cluster member)
> 
> Can somone confirm that deploying through the manager-webapp will
> not deploy to all the cluster members? Otherwise there is still
> something wrong with my setup.

Yes, the manager web application has no knowledge of the existence of
the cluster. You need to use FarmWebDeployer if you want to push the
WAR file to multiple cluster members.

> btw. I see that the farmWarDeployer is not completely stable. A
> few times I noticed that the app is not deployed on the other
> member, trying one more time, and it does succeed.

I believe the FWD doesn't get a huge amount of use in the wild. If
you're willing to instrument the FWD and make suggestions for
improvement, I'm sure we can get any bugs worked-out.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJV8aUJAAoJEBzwKT+lPKRYUCgQAJmAdw8MzM0xm2JUq6u88Jba
Nj4esd6KqFPkAHl5jAlQfUoGKVq3a4oYCdqocNtzPHpiTysgRUT0/wWDwnK7TJVN
t2XgQnfKbMGzx7dUJBGk+fGJw72G10kynz4PNZ7KgHnz8oRMr82HRAkurZVfxQq/
h7wcfxZRIn0Juu39NBx8LHWTvDeym6l128VtoN0+C0OGEGcWKNmOtN1BZKXj/H4D
9mkF6XGbHWWZ2ZFVt1r+IPntWAE4dvE1R0m3RbVrW3qbjXqnEjqZn+21XuoCK/OP
Lc7WMXfacGO7Ay8Qg6Dvfal9ngTuZ3bUcTlADatzbxl8sFpD7eLgz42skCYFWG6Y
lWNB4XwzYArn4Lyjf/A3Ib5OFcL4bayPdPnLfJMcQXoxO+m5dmTfs6WDHdoGYyyc
QarOcPiy9YecxKTyjqqPRjSEdg4Bj6UXrFUU4NNdulzFnA9y4EDM3eILFHdIbe55
QbgvTSa4BsF5L9kc1PWaXlj/VTQ+mYcj1bcTmcwV0APjVAPZbnUVSPNI5ewNAyBE
8idaO+/+pPtJVRYasOosIYU731uYrysFmGuEvFeRiBAS3APNBKv1knTrrdZqsvRM
Ep/tzI7woPc6a9W3lO1nnGo0xe/XmxnJJUcO2crgARfPbJPLk2g3VCQotitVVGY8
tob8vwVzYwaisaTuIXxh
=czB+
-----END PGP SIGNATURE-----

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


cluster isn't deploying apps to all members

Posted by Martijn Bos <ma...@maboc.nl>.
Hi all,

I think I "solved" it myself.

My problem was that when I deployed a webaap on one of the
cluster-members it didn't get deployed on the other member.
I did this with the manager web-application.

However when I drop a war-file in the watchDir of the farmWarDeployer it
gets deployed to the other member. (Apperantly by memory or so. Since I
do not see the war file appearing on in the tmpDir, deployDir or
watchDir on the other cluster member)

Can somone confirm that deploying through the manager-webapp will not
deploy to all the cluster members? Otherwise there is still something
wrong with my setup.

btw. I see that the farmWarDeployer is not completely stable. A few
times I noticed that the app is not deployed on the other member, trying
one more time, and it does succeed.

Anyway...thanks for listening,

Best regards,
Martijn



On 08-09-15 13:28, Martijn Bos wrote:
> Hi all,
> 
> I tried to create a cluster two hosts. At which I did not succeeded
> completely.
> 
> OS(both systems):
> SMP Debian 3.16.7
> 
> java (both systems):
> martijn@bloemkool:~/apache-tomcat-8.0.26/conf$ java -version
> java version "1.8.0_05"
> Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
> 
> Tomcat (both systems):
> Apache Tomcat/8.0.26
> 
> I installed 2 tomcat's
> One on host bloemkool.bos.
> The 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="8080" protocol="HTTP/1.1" connectionTimeout="20000"
> redirectPort="8443" />
>     <Engine name="Catalina" defaultHost="bloemkool.bos"
> jvmRoute="bloemkoolRoute">
>       <Realm className="org.apache.catalina.realm.LockOutRealm">
>         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> resourceName="UserDatabase"/>
>       </Realm>
>       <Host name="bloemkool.bos" appBase="webapps" unpackWARs="true"
> autoDeploy="true">
>       <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
> channelSendOptions="8">
>         <Manager className="org.apache.catalina.ha.session.DeltaManager"
> expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
>           <Channel
> className="org.apache.catalina.tribes.group.GroupChannel">
>             <Membership
> className="org.apache.catalina.tribes.membership.McastService"
>                         address="228.0.0.4"
>                         port="45564"
>                         frequency="500"
>                         dropTime="3000"/>
>             <Receiver
> className="org.apache.catalina.tribes.transport.nio.NioReceiver"
>                       address="192.168.2.123"
>                       port="4000"
>                       autoBind="100"
>                       selectorTimeout="5000"
>                       maxThreads="6"/>
>             <Sender
> className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
>               <Transport
> className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
>             </Sender>
>             <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
>             <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
> 
>           </Channel>
>           <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
> filter=""/>
>           <Valve
> className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
>           <Deployer
> className="org.apache.catalina.ha.deploy.FarmWarDeployer"
>                     tempDir="/tmp/war-temp/"
>                     deployDir="${catalina.base}/webapps"
>                     watchDir="/tmp/war-listen/"
>                     watchEnabled="true"/>
>           <ClusterListener
> className="org.apache.catalina.ha.session.ClusterSessionListener"/>
>         </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>
> ---------------------------------------------
> 
> And one on broccoli.bos.
> The 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="8080" protocol="HTTP/1.1" connectionTimeout="20000"
> redirectPort="8443" />
>     <Engine name="Catalina" defaultHost="broccoli.bos"
> jvmRoute="broccoliRoute">
>       <Realm className="org.apache.catalina.realm.LockOutRealm">
>         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> resourceName="UserDatabase"/>
>       </Realm>
>       <Host name="broccoli.bos"  appBase="webapps" unpackWARs="true"
> autoDeploy="true">
>         <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
> channelSendOptions="8">
>           <Manager
> className="org.apache.catalina.ha.session.DeltaManager"
> expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
>             <Channel
> className="org.apache.catalina.tribes.group.GroupChannel">
>               <Membership
> className="org.apache.catalina.tribes.membership.McastService"
>                           address="228.0.0.4"
>                           port="45564"
>                           frequency="500"
>                           dropTime="3000"/>
>               <Receiver
> className="org.apache.catalina.tribes.transport.nio.NioReceiver"
>                         address="192.168.2.124"
>                         port="4000"
>                         autoBind="100"
>                         selectorTimeout="5000"
>                         maxThreads="6"/>
>               <Sender
> className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
>                 <Transport
> className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
>               </Sender>
>               <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
>               <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
> 
>             </Channel>
>             <Valve
> className="org.apache.catalina.ha.tcp.ReplicationValve" filter=""/>
>             <Valve
> className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
>             <Deployer
> className="org.apache.catalina.ha.deploy.FarmWarDeployer"
>                       tempDir="/tmp/war-temp/"
>                       deployDir="${catalina.base}/webapps"
>                       watchDir="/tmp/war-listen/"
>                       watchEnabled="true"/>
>             <ClusterListener
> className="org.apache.catalina.ha.session.ClusterSessionListener"/>
>           </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>
> ---------------------------------------------
> 
> I see some communication between the nodes, which indicates to me that a
> lot is going OK.
> 
> However, if I deploy a webapp on one host, I'll get a warning on the
> other host and the webapp will not be deployed:
> 
> Logging from the host on which I deploy:
> ---------------------------------------------
> 08-Sep-2015 12:55:35.144 INFO [http-nio-8080-exec-9]
> org.apache.catalina.startup.HostConfig.deployWAR Deploying web
> application archive /home/martijn/apache-tomcat-8.0.26/webapps/hw2.war
> 08-Sep-2015 12:55:35.291 WARNING [http-nio-8080-exec-9]
> org.apache.catalina.startup.SetContextPropertiesRule.begin
> [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to
> 'true' did not find a matching property.
> 08-Sep-2015 12:55:35.576 INFO [http-nio-8080-exec-9]
> org.apache.catalina.ha.session.DeltaManager.startInternal Register
> manager /hw2 to cluster element Host with name bloemkool.bos
> 08-Sep-2015 12:55:35.577 INFO [http-nio-8080-exec-9]
> org.apache.catalina.ha.session.DeltaManager.startInternal Starting
> clustering manager at /hw2
> 08-Sep-2015 12:55:35.736 INFO [http-nio-8080-exec-9]
> org.apache.catalina.ha.session.DeltaManager.getAllClusterSessions
> Manager [/hw2], requesting session state from
> org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 2,
> 124}:4000,{192, 168, 2, 124},4000, alive=210612, securePort=-1, UDP
> Port=-1, id={-43 -36 -16 -70 71 113 74 112 -79 39 -47 -84 51 -124 72 -70
> }, payload={}, command={}, domain={}, ]. This operation will timeout if
> no session state has been received within 60 seconds.
> 08-Sep-2015 12:55:35.857 WARNING [http-nio-8080-exec-9]
> org.apache.catalina.ha.session.DeltaManager.waitForSendAllSessions
> Manager [/hw2]: No context manager send at 9/8/15 12:55 PM received in
> 260 ms.
> 08-Sep-2015 12:55:35.867 INFO [http-nio-8080-exec-9]
> org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
> application archive /home/martijn/apache-tomcat-8.0.26/webapps/hw2.war
> has finished in 722 ms
> 08-Sep-2015 12:55:35.867 INFO [http-nio-8080-exec-9]
> org.apache.catalina.core.ApplicationContext.log HTMLManager: list:
> Listing contexts for virtual host 'bloemkool.bos'
> ---------------------------------------------
> 
> And logging from the host which fails:
> ---------------------------------------------
> 08-Sep-2015 12:55:35.789 WARNING [Tribes-Task-Receiver-3]
> org.apache.catalina.ha.session.ClusterSessionListener.messageReceived
> Context manager doesn't exist:/hw2
> ---------------------------------------------
> 
> I'm a bit out of options. Google did not came up with a solution (at
> least not for me).
> 
> Can someone point me in the right direction (or is there a solution
> available?).
> 
> Any pointers or advice are greatly appreciated.
> 
> 
> Best Regards,
> Martijn
>