tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <m...@filip.net>
Subject RE: Tomcat 5 clustering
Date Tue, 09 Sep 2003 16:23:29 GMT
web.xml must contain <distributable/> according to spec

Filip

> -----Original Message-----
> From: Cendil [mailto:cendil2003@icqmail.com]
> Sent: Tuesday, September 09, 2003 2:26 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 5 clustering
>
>
> I am trying to get clustering working with Tomcat 5.0.9 and am
> finding a few problems.
>
> I have uncommented the cluster section and the recommended valve to filter
> requests for static content, so the cluster section in the host
> section of server.xml looks like this:
>
> <Cluster  className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
>                   name="TestCluster"
>                   debug="10"
>
> serviceclass="org.apache.catalina.cluster.mcast.McastService"
>                   mcastAddr="228.0.0.4"
>                   mcastPort="45564"
>                   mcastFrequency="500"
>                   mcastDropTime="3000"
>                   tcpThreadCount="2"
>                   tcpListenAddress="auto"
>                   tcpListenPort="4001"
>                   tcpSelectorTimeout="100"
>                   printToScreen="false"
>                   expireSessionsOnShutdown="false"
>                   useDirtyFlag="true"
>                   replicationMode="synchronous"
>         />
>
> And I have changed the listen port in the second member to be
> 4002. On start-up,
> the following INFOs appear in catalina.out:
>
> [InMemoryReplicationManager] Starting clustering manager...:/reptest
> [InMemoryReplicationManager] Starting... no cluster associated with this
> context:/reptest
>
> I am testing using the SessionExample servlet that ships with tomcat. Both
> members join the cluster and data is replicated. However, when
> data is received, the following WARNING is logged in the
> receiving cluster member
> and the session is not replicated properly:
>
> org.apache.catalina.cluster.tcp.SimpleTcpCluster messageDataReceived
> WARNING: Context manager doesn't exist:/reptest
>
> Any ideas on how to solve this?
>
> Regards,
> Cendil
>
>
> -------------------------------------------------------------
> Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message