Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 26871 invoked from network); 25 Jan 2006 16:41:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jan 2006 16:41:54 -0000 Received: (qmail 37428 invoked by uid 500); 25 Jan 2006 16:41:37 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37276 invoked by uid 500); 25 Jan 2006 16:41:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 37134 invoked by uid 99); 25 Jan 2006 16:41:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 08:41:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.160.178.142] (HELO p15122102.pureserver.info) (217.160.178.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 08:41:34 -0800 Received: from [192.168.1.2] (dslb-084-060-098-246.pools.arcor-ip.net [84.60.98.246]) by p15122102.pureserver.info (Postfix) with ESMTP id 04E943AC225 for ; Wed, 25 Jan 2006 17:44:26 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <200601251524.55019.julie.mccabe@qub.ac.uk> References: <200601251524.55019.julie.mccabe@qub.ac.uk> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Peter Rossbach Subject: Re: FarmDeployer - removing webapp on deploy? Date: Wed, 25 Jan 2006 17:42:18 +0100 To: "Tomcat Users List" X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Is your deployDir the host appBase (webapps) directory? Check that tempDir,deployDir and watchDir are exists and read/writeable at all nodes. Configure debug logging at FarmWarDeployer package conf/logging.properties org.apache.catalina.cluster.deploy.level=FINE See what happens... Peter Am 25.01.2006 um 16:24 schrieb Julie McCabe: > 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 element in the master node > is: > > > managerClassName="org.apache.catalina.cluster.session.DeltaManager" > expireSessionsOnShutdown="false" > useDirtyFlag="true"> > > > className="org.apache.catalina.cluster.mcast.McastService" > mcastAddr="228.0.0.4" > mcastPort="45564" > mcastFrequency="500" > mcastDropTime="3000"/> > > > className="org.apache.catalina.cluster.tcp.ReplicationListener" > tcpListenAddress="127.0.0.1" > tcpListenPort="4000" > tcpSelectorTimeout="100" > tcpThreadCount="6"/> > > className="org.apache.catalina.cluster.tcp.ReplicationTransmitter" > replicationMode="pooled"/> > > className="org.apache.catalina.cluster.tcp.ReplicationValve" > filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.* > \.html;.*\.txt;"/> > > className="org.apache.catalina.cluster.deploy.FarmWarDeployer" > tempDir="${catalina.base}/war-temp" > deployDir="${catalina.base}/war-deploy" > watchDir="${catalina.base}/war-listen" > watchEnabled="true"/> > > > The other nodes have the same element but with the > watchEnabled > attribute set to false on the / 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 element as: > 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"> > > Test Farm Webapp > > ..... > > 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: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org