conf looks good,
do you have multicast enabling between your boxes?

Filip

-----Original Message-----
From: 岩崎 新 [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:13 AM
To: [EMAIL PROTECTED]
Subject: Tomcat5.0.25 TCP Session Replication


On Tomcat5.0.25 it doesn't replicate, even though I try to do session 
replication.

Below is a setting.

server.xml of SERVER 1
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                        
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                        expireSessionsOnShutdown="false"
                        printToScreen="true"
                        debug="9"
                        useDirtyFlag="false">

        <Membership
                        className="org.apache.catalina.cluster.mcast.McastService"
                        mcastAddr="228.0.0.4"
                        mcastPort="45564"
                        mcastFrequency="500"
                        mcastDropTime="3000"/>

        <Receiver
                        className="org.apache.catalina.cluster.tcp.ReplicationListener"
                        tcpListenAddress="10.108.128.91"
                        tcpListenPort="4001"
                        tcpSelectorTimeout="100"
                        tcpThreadCount="6"/>

        <Sender
                        
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                        replicationMode="synchronous"/>

        <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
                        filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;*\.html;.*\.txt;"/>
</Cluster>

server.xml of SERVER 2
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                        
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                        expireSessionsOnShutdown="false"
                        printToScreen="true"
                        debug="9"
                        useDirtyFlag="false">

        <Membership
                        className="org.apache.catalina.cluster.mcast.McastService"
                        mcastAddr="228.0.0.4"
                        mcastPort="45564"
                        mcastFrequency="500"
                        mcastDropTime="3000"/>

        <Receiver
                        className="org.apache.catalina.cluster.tcp.ReplicationListener"
                        tcpListenAddress="10.108.128.93"
                        tcpListenPort="4001"
                        tcpSelectorTimeout="100"
                        tcpThreadCount="6"/>

        <Sender
                        
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                        replicationMode="synchronous"/>

        <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
                        filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;*\.html;.*\.txt;"/>
</Cluster>


The following is added on web.xml of application.

<distributable/>

SERVER1:10.108.128.91

SERVER2:10.108.128.93
                
OS:both RedHat LinuxA3.0



There're some packet to confirm each other on "tcpdump".
Seesion Replication can be confirmed on Session Examplle .

Above all,are there any to notice insufficient settings or the settings?

_________________________________________________________________
楽しい絵文字でココロ伝わるメッセンジャー http://messenger.msn.co.jp/ 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


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

Reply via email to