Hello, Environment: tomcat-5.5.7, java 1.5.0_03
I have set up a vertical cluster containing 4 nodes. I am attempting to create a master farm node, the <Cluster> element in the master node is: <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="127.0.0.1" tcpListenPort="4000" 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;"/> <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer" tempDir="${catalina.base}/war-temp" deployDir="${catalina.base}/war-deploy" watchDir="${catalina.base}/war-listen" watchEnabled="true"/> </Cluster> The other nodes have the same <Cluster> element but with the watchEnabled attribute set to false on the <Cluster>/<Deployer> element. When all the nodes are running, I copy a war file into the master node CATALINA_HOME/war_listen, this is the output in the logs: 25-Jan-2006 12:35:14 org.apache.catalina.cluster.deploy.WarWatcher check INFO: check cluster wars at /media/jm/cluster/tomcat1/war-listen 25-Jan-2006 12:35:18 org.apache.catalina.cluster.deploy.FarmWarDeployer fileModified INFO: Installing webapp[/testFarm] from /media/jm/cluster/tomcat1/war-deploy/testFarm.war 25-Jan-2006 12:35:18 org.apache.catalina.cluster.deploy.FarmWarDeployer remove INFO: Cluster wide remove of web app /testFarm It seems the war file is getting deployed but then it is removed from the whole cluster. The filesystem is left with the war file getting copied into CATALINA_HOME/war-deploy on the master node plus the other 3 nodes, however the webapp is not accessible. The webapp has the <distributable> element as: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>Test Farm Webapp</display-name> <distributable/> ..... Is there something im missing - perhaps it something in the webapp - although its just a hello world webapp with a single html file. Any ideas appreciated! Regards, Julie. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]