I am using tomcat 5.5 and have a clustering / replication problem.
I have a WAR file that i wish to deploy replicate and deploy across the
cluster, however because of the way this application conducts its own
upgrades, then the war files must be deployed serially.
That is to say that the primary node, where the new war is first
deployed, must complete before the next node is presented with (or
deploys) the new war. However for subsequent nodes it does not matter if
they are replicated concurrently.
I have been investigating the Cluster attributes in server.xml and in
particular the Sender attribute.  After much STFW I have tried changing
waitForAck, replicationMode and timing parameters.  However it seems
random when dropping war files in to the watched directory, whether the
replication is serial or not. Usually it is not. Is there any more
documentation other than the tomcat sites and FAQ linked from there?

 
                                <Cluster
        
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
        
managerClassName="org.apache.catalina.session.StandardManager"
                                        expireSessionsOnShutdown="false"
                                        useDirtyFlag="true"
        
notifyListenersOnReplication="false">
                                        <Sender
        
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
        
replicationMode="synchronous"
                                                recoverTimeout="5000"
                                                recoverCounter="6"
        
doTransmitterProcessingStats="true"
                                                doProcessingStats="true"
                                                doWaitAckStats="true"
                                                queueTimeWait="true"
                                                queueDoStats="true"
                                                queueCheckLock="true"
                                                ackTimeout="15000"
                                                waitForAck="true"
                                                keepAliveTimeout="80000"
        
keepAliveMaxRequestCount="-1"/>
                                        <Membership
        
className="org.apache.catalina.cluster.mcast.McastService"
                                                mcastAddr="228.2.2.9"
                                                mcastPort="45564"
                                                mcastFrequency="500"
                                                mcastDropTime="3000"
        
replicationMode="synchronous" />
                                        <Deployer
        
className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
        
tempDir="C:\GWServersTEMP\ClaimCenter2\Tomcat 5.5.17\temp"
        
deployDir="C:\GWServersTEMP\ClaimCenter2\Tomcat 5.5.17\webapps"
        
watchDir="C:\GWServersTEMP\ClaimCenter1\Tomcat 5.5.17\webapps"
                                                watchEnabled="false" />
                                </Cluster>
NOTICE - This e-mail and its attachments are strictly confidential. If you are 
not the intended recipient please delete the e-mail (including attachments) 
from your system without printing copying disclosing or otherwise using its 
contents. If you have received this e-mail in error please notify the sender 
immediately by e-mail or telephone (01623) 885000. 
WARNING - Data conveyed by e-mail could be deliberately or accidentally 
intercepted or corrupted. Homeserve Property Repairs do not accept any 
responsibility for any changes or breaches of confidence which may arise 
through use of this medium. The content of e-mails sent and received by company 
employees may be intercepted or monitored by the company. It is the 
responsibility of the recipient to ensure that this e-mail has not been 
tampered with and that any attachments are virus-free. Whilst we make every 
effort to ensure that this e-mail is free from viruses this cannot be 
guaranteed. We recommend that you scan all e-mail for viruses with appropriate 
and frequently updated virus checking software.

Homeserve Property Repairs Limited      Registered Office: Cable Drive Walsall 
WS2 7BN. VAT Registration No: 559669669     Registered in England No: 3907989

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