We have enabled tomcat 6 clustering with two machines. After doing that we
noticed two things.

1. Tomcat is taking atleast 5 minutes to start. There are only 5 webapps
in total.
2. useDirtyFlag="false" in Cluster tag, doesn't seem to work.

I am posting our cluster entry here.

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
                  useDirtyFlag="false"
                  channelSendOptions="6">

           <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"
                         ttl="15"
                         dropTime="3000"/>
  <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.session.JvmRouteBinderValve"/>
           <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
                  
filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/>

           <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>

Any thoughts on this?



--
Regards,
Prabhu

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to