i found that replacing 

tcpListenAddress="auto"

with 

tcpListenAddress="IP"

and

mcastBindAddress="IP"

works better with multi-homed machines. 

apu

On Wed, 11 Feb 2004 17:58:59 -0500
"Rick Szeto" <[EMAIL PROTECTED]> wrote:

> Sorry, my bad...
> 
>         <Cluster
> className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
>                   name="FilipsCluster"
>                   debug="10"
> 
> serviceclass="org.apache.catalina.cluster.mcast.McastService"
>           mcastAddr="228.1.2.3"
>                   mcastPort="45564"
>                   mcastFrequency="500"
>                   mcastDropTime="3000"
>                   tcpThreadCount="2"
>                   tcpListenAddress="auto"
>                   tcpListenPort="4001"
>                   tcpSelectorTimeout="100"
>                   printToScreen="true"
>                   expireSessionsOnShutdown="false"
>                   useDirtyFlag="false"
>                   replicationMode="synchronous"
>         />
> 
>         <Valve
>         className="org.apache.catalina.cluster.tcp.ReplicationValve"
> debug="9"
>                filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.tx
>                t;"/>
> 
> Thanks again,
> Rick Szeto
> 
> -----Original Message-----
> From: Rick Szeto [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 11, 2004 5:55 PM
> To: tomcat
> Subject: Problem with Tomcat5 session replication.
> 
> 
> Hi all,
>   I am having quite a bit of trouble getting the sessions from one
>   node in
> the cluster to the other nodes of the cluster. The multicast is
> working fine as I can see that each of the nodes can recognize when a
> new node is brought up as well as when they are removed.
> 
>   No where in the logs are there mention of sessions being replicated
>   and/or
> errors encounter while trying to do so. I have Apache in front doing
> URL rewriting and forwarded via proxy so the client does not know the
> difference.
> 
>   I have pasted the relevant snippets from the server.xml, which are
> identical
> on both nodes. I am running Tomcat 5.0.18 with one node running on
> Windows XP
> and the other node on RH 9.0(which should not make any difference).
> 
>   I guess that what I am hoping for is someone can look at my
>   replication
> config
> and tell me that I did something stupid. I rather have that happen
> then not being
> able to get the sessions replicated. =)
> 
> ps. Out of curiousity, I have been unable to find any documentation on
> the JDBCManager, reference here:
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html
> 
> Thanks in advance,
> Rick Szeto
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to