tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 岩崎 新 <karakid...@hotmail.com>
Subject Tomcat5.0.25 TCP Session Replication
Date Fri, 03 Sep 2004 05:13:22 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message