tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shammi@arosys.com" <sha...@arosys.com>
Subject Is FarmWarDeployer is working?
Date Fri, 06 Aug 2010 09:28:22 GMT
Hi, This is my first mail and If is not the correct palce then do inform me.
I am using Tomcat7.0.0 and working on Linux/Debian machine.
I am configuring the Tomcat for the Session object persistance.
I have created two instances of tomcat7 in the same machine.
First time I am using FarmWarDeployer. I only knows that using this we can
deploy our application in one node in the tomcat cluster rather than
diploying in all the nodes.
Then after some reading what I did is :
I created /tmp/war-deploy , /tmp/war-app , /tmp/war-listen and /war-temp
directories.

I started the tomcat. Here is the portion of the catalina.out file.

6 Aug, 2010 12:46:37 PM org.apache.catalina.ha.deploy.FarmWarDeployer start
INFO: Cluster deployment is watching /tmp/war-listen/ for changes.
6 Aug, 2010 12:46:37 PM org.apache.catalina.ha.deploy.FarmWarDeployer start
INFO: Cluster FarmWarDeployer started.
I understood that FarmWarDeployer started to work.

Now the following message is in the catalina.out in every 20 sec.

INFO: check cluster wars at /tmp/war-listen
6 Aug, 2010 12:53:23 PM org.apache.catalina.ha.deploy.WarWatcher check
INFO: check cluster wars at /tmp/war-listen
6 Aug, 2010 12:53:43 PM org.apache.catalina.ha.deploy.WarWatcher check
INFO: check cluster wars at /tmp/war-listen
6 Aug, 2010 12:54:03 PM org.apache.catalina.ha.deploy.WarWatcher check


Now when I copy my webapplication in the /war-deploy , /tmp/war-app , then
there is no changes in the catalina.out log file. But when I copy my
application in /tmp/war-listen/ directory following message appears in the
log file :

6 Aug, 2010 1:01:56 PM org.apache.catalina.ha.deploy.WarWatcher check
INFO: check cluster wars at /tmp/war-listen
6 Aug, 2010 1:01:56 PM org.apache.catalina.ha.deploy.FarmWarDeployer
fileModified
INFO: Installing webapp[/sessionReplication2] from
/tmp/war-deploy/sessionReplication2.war
6 Aug, 2010 1:01:56 PM org.apache.catalina.ha.deploy.FarmWarDeployer remove
INFO: Cluster wide remove of web app /sessionReplication2
6 Aug, 2010 1:02:16 PM org.apache.catalina.ha.deploy.WarWatcher check
INFO: check cluster wars at /tmp/war-listen

What is happening and what I am lacking to work FarmWarDeployer.
Thanks

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message