Topic: 求助:Tomcat 5.0.27 cluster 问题 |
Print this page |
1.求助:Tomcat 5.0.27 cluster 问题 | Copy to clipboard |
Posted by: youjue Posted on: 2004-07-06 11:34 完全按照tomcat文档配置,配置如下: <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" managerClassName="org.apache.catalina.cluster.session.DeltaManager" expireSessionsOnShutdown="false" useDirtyFlag="true"> <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="auto" tcpListenPort="4001" tcpSelectorTimeout="100" tcpThreadCount="6"/> <Sender className="org.apache.catalina.cluster.tcp.ReplicationTransmitter" replicationMode="pooled"/> <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve" filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/> </Cluster> 分别配置了两个实例 启动后画面如下: 显示无member active,两个tomcat启动后都这样显示,测试后不能实现 session复制,恳请高手指点,多谢! (缩略图,点击图片链接看原图) |
2.Re:求助:Tomcat 5.0.27 cluster 问题 [Re: youjue] | Copy to clipboard |
Posted by: fxfboy Posted on: 2004-07-29 20:26 <distributable/>这个标记写了吗?估计就是它了,在你的web.xml中添加前面的那个标记。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |