Tomcat6.0的集群配置与Tomcat5.5类似,由于Tomcat6.0做了许多更新,所以在Tomcat6.0 Server.xml中只需启用
- <Cluster className=”org.apache.catalina.ha.tcp.SimpleTcpCluster”/>
即可,Tomcat6.0的默认配置为:
- <Cluster className=”org.apache.catalina.ha.tcp.SimpleTcpCluster”
- channelSendOptions=”8″>
- <Manager className=”org.apache.catalina.ha.session.DeltaManager”
- expireSessionsOnShutdown=”false”
- notifyListenersOnReplication=”true”/>
- <Channel className=”org.apache.catalina.tribes.group.GroupChannel”>
- <Membership className=”org.apache.catalina.tribes.membership.McastService”
- address=”228.0.0.4″
- port=”45564″
- frequency=”500″
- dropTime=”3000″/>
- <Receiver className=”org.apache.catalina.tribes.transport.nio.NioReceiver”
- address=”auto”
- port=”4000″
- autoBind=”100″
- selectorTimeout=”5000″
- maxThreads=”6″/>
- <Sender className=”org.apache.catalina.tribes.transport.ReplicationTransmitter”>
- <Transport className=”org.apache.catalina.tribes.transport.nio.PooledParallelSender”/>
- </Sender>
- <Interceptor className=”org.apache.catalina.tribes.group.interceptors.TcpFailureDetector”/>
- <Interceptor className=”org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor”/>
- </Channel>
- <Valve className=”org.apache.catalina.ha.tcp.ReplicationValve”
- filter=”"/>
- <Valve className=”org.apache.catalina.ha.session.JvmRouteBinderValve”/>
- <Deployer className=”org.apache.catalina.ha.deploy.FarmWarDeployer”
- tempDir=”/tmp/war-temp/”
- deployDir=”/tmp/war-deploy/”
- watchDir=”/tmp/war-listen/”
- watchEnabled=”false”/>
- <ClusterListener className=”org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener”/>
- <ClusterListener className=”org.apache.catalina.ha.session.ClusterSessionListener”/>
- </Cluster>
可参考资料:http://zhidao.baidu.com/question/55407567.html
mod_jk地址:http://archive.apache.org/dist/tomcat/tomcat-connectors/jk
It is quite useful and interesting too.
VIRT 的上限是64G,也就是36位, cat /proc/cpuinfo的结果是:addre
昨天要准备用线程重写webbench,试验了下Fedora Linux 2.6.35.14
不明白您的具体的意思是什么?
已经发送到你QQ邮箱
http://www.2mysite.net/scriptencoder/screnc.asp 站长你好,看
你好,我发现一个问题,就是从mysqld2同步过来的数据,在mysqld1的
晕,我说是怎么回事情,原来我和你一样,忘记设置了活动分区