Hi Mark,
Thank you very much. It works.
When the element is not present in the web.xml,
FarmWarDeployer still works but without sessions getting replicated. I tested
using a sample web application and then verified by analyzing the network
traffic. No session data could be found on the wire
Kamal,
This is off the top of my head without testing it or even looking at the
code but you could try configuring a cluster with the FarmWarDeployer
and then deploying a web application via the FarmWarDeployer that has
the distributable flag set to false in web.xml
Mark
On 27/01/2021 05:44
Is it ever possible to configure a Tomcat 9 cluster with the FarmWarDeployer
enabled but without session replication? Any guidelines?
TIAKamal
Hi Team,
I have used this configuration of FarmWarDeployer to configure two tomcat
nodes as part of Cluster.
1: tempDir="\temp-dir\"
deployDir="\webapps\"
watchDir="\watch-dir\"
watchEnabled="true"/>
2: tempDir=&
Hi Théo,
thanks. That's what I have suspected.
Cheers,
Gin
Best Wishes,
Gintautas Sulskus
On Sat, Oct 10, 2015 at 9:18 AM, Théo Chamley <theo...@mley.fr> wrote:
> Hello,
>
> I can’t seem to find it in the documentation, but no, this is not the
> behaviour of t
Hello,
I can’t seem to find it in the documentation, but no, this is not the behaviour
of the FarmWarDeployer.
This component is triggered only by adding or removing an app, not by adding or
removing a node in the cluster. It will not sync automatically the apps to your
new node.
Two solutions
Hi,
suppose I have a Tomcat 8 cluster coordinated via multicast.
If I understand it right, any newly started server will be picked up
automatically and any down servers will eventually be dropped out from the
cluster.
I was wondering, how does FarmWarDeployer cope with this dynamics?
Say I have
Keiichi Fujino kfuj...@apache.org wrote on 14.04.2015 09:33:21:
From: Keiichi Fujino kfuj...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Date: 14.04.2015 09:33
Subject: Re: FarmWarDeployer via tomcat web manager
2015-04-14 14:22 GMT+09:00 kimmo.sundg...@heeros.com
2015-04-14 14:22 GMT+09:00 kimmo.sundg...@heeros.com:
Caldarale, Charles R chuck.caldar...@unisys.com wrote on 14.04.2015
06:06:37:
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Date: 14.04.2015 06:07
Subject: RE: FarmWarDeployer
2015-04-14 15:58 GMT+09:00 kimmo.sundg...@heeros.com:
Keiichi Fujino kfuj...@apache.org wrote on 14.04.2015 09:33:21:
From: Keiichi Fujino kfuj...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Date: 14.04.2015 09:33
Subject: Re: FarmWarDeployer via tomcat web manager
2015
2015-04-13 18:42 GMT+09:00 kimmo.sundg...@heeros.com:
Hi
I newbie on the Tomcat. I have HA architecture including Cisco ACE
Loadbalancer, 3 servers with RHEL 7 + httpd 2.4 + mod_proxy AJP+ Tomcat
8.0.18.
I have problem with FarmWarDeployer. I would like to use FarmWarDeployer
via Tomcat
From: Keiichi Fujino [mailto:kfuj...@apache.org]
Subject: Re: FarmWarDeployer via tomcat web manager
I changed war-listen path to webapps, and everything works fine untils I
restart my Tomcat 1 (master node).
After restarting tomcat my war file goes empty in webapps folder. ( file
size
Caldarale, Charles R chuck.caldar...@unisys.com wrote on 14.04.2015
06:06:37:
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Date: 14.04.2015 06:07
Subject: RE: FarmWarDeployer via tomcat web manager
From: Keiichi Fujino [mailto:kfuj
Hi
I newbie on the Tomcat. I have HA architecture including Cisco ACE
Loadbalancer, 3 servers with RHEL 7 + httpd 2.4 + mod_proxy AJP+ Tomcat
8.0.18.
I have problem with FarmWarDeployer. I would like to use FarmWarDeployer
via Tomcat Web Manager. Is this possible?
I changed war-listen
On 2015-01-21 00:15, Christopher Schultz wrote:
Can you build with an updated patch[1], re-break your directory
permissions and re-run Tomcat? Let me know if the log output you get
would have led you to a solution more quickly.
- -chris
I did. Here is the warning I obtained:
21-Jan-2015
2015-01-13 21:38 GMT+03:00 Théo Chamley theo...@mley.fr:
Hello,
I have setup a Tomcat cluster and I am now trying to get the FarmWarDeployer
to work.
However, it seems that the Deployer never checks my watchDir and therefore
never finds my new wars to deploy.
When starting Tomcat, the logs
-01-16 19:33, Christopher Schultz wrote: Théo,
On 1/13/15 1:38 PM, Théo Chamley wrote:
I have setup a Tomcat cluster and I am now trying to get
the FarmWarDeployer to work. However, it seems that the
Deployer never checks my watchDir and therefore never
finds my new wars to deploy.
When
/15 6:11 AM, Théo Chamley wrote:
On 2015-01-16 19:33, Christopher Schultz wrote: Théo,
On 1/13/15 1:38 PM, Théo Chamley wrote:
I have setup a Tomcat cluster and I am now trying to get
the FarmWarDeployer to work. However, it seems that the
Deployer never checks my watchDir and therefore never
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: FarmWarDeployer not checking watchDir
So you can get a list of names, but you can't get any other
information about the files, like anything returned by stat().
Correct; stat() retrieves metadata that's stored
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Konstantin,
On 1/20/15 12:06 PM, Konstantin Kolinko wrote:
2015-01-13 21:38 GMT+03:00 Théo Chamley theo...@mley.fr:
Hello,
I have setup a Tomcat cluster and I am now trying to get the
FarmWarDeployer to work. However, it seems
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Théo,
On 1/20/15 12:42 PM, Théo Chamley wrote:
Thanks, found my problem by adding even more debugging than you.
So, it came down to my watchDir being in 644 and not 755.
So, missing the execute bit?
Because of this, the war.exists() in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Théo,
On 1/20/15 5:53 PM, Théo Chamley wrote:
Yes, that’s it. A chmod +x on my watchDir fixed the problem (I knew
I was missing something silly…). As for Konstantin’s remark on the
path, I changed it before posting and made a mistake at this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chuck,
On 1/20/15 6:10 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: FarmWarDeployer not checking watchDir
I'm actually really surprised that File.list() returns a list of
files
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: FarmWarDeployer not checking watchDir
I'm actually really surprised that File.list() returns a list of files
for the directory that does not have execute permissions.
That's per the POSIX standard: you only need
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Théo,
On 1/20/15 5:42 PM, Christopher Schultz wrote:
Théo,
On 1/20/15 12:42 PM, Théo Chamley wrote:
Thanks, found my problem by adding even more debugging than you.
So, it came down to my watchDir being in 644 and not 755.
So, missing the
On 20 Jan 2015, at 23:42, Christopher Schultz ch...@christopherschultz.net
wrote:
Signed PGP part
Théo,
On 1/20/15 12:42 PM, Théo Chamley wrote:
Thanks, found my problem by adding even more debugging than you.
So, it came down to my watchDir being in 644 and not 755.
So, missing
On 2015-01-16 19:33, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Théo,
On 1/13/15 1:38 PM, Théo Chamley wrote:
I have setup a Tomcat cluster and I am now trying to get the
FarmWarDeployer to work. However, it seems that the Deployer never
checks my watchDir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Théo,
On 1/19/15 6:11 AM, Théo Chamley wrote:
On 2015-01-16 19:33, Christopher Schultz wrote: Théo,
On 1/13/15 1:38 PM, Théo Chamley wrote:
I have setup a Tomcat cluster and I am now trying to get the
FarmWarDeployer to work. However
now trying to get the
FarmWarDeployer to work. However, it seems that the Deployer
never checks my watchDir and therefore never finds my new
wars to deploy.
When starting Tomcat, the logs indicate that the Deployer is
started: 13-Jan-2015 19:21:43.942 INFO
[Catalina-startStop-1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Théo,
On 1/13/15 1:38 PM, Théo Chamley wrote:
I have setup a Tomcat cluster and I am now trying to get the
FarmWarDeployer to work. However, it seems that the Deployer never
checks my watchDir and therefore never finds my new wars to
deploy
Hello,
I have setup a Tomcat cluster and I am now trying to get the
FarmWarDeployer to work.
However, it seems that the Deployer never checks my watchDir and
therefore never finds my new wars to deploy.
When starting Tomcat, the logs indicate that the Deployer is started:
13-Jan-2015 19:21
We are trying to use FarmWarDeployer at the moment, however it fails
ocassionally on the slave nodes with the following log message:
Jan 22, 2014 11:00:23 AM org.apache.catalina.ha.deploy.FarmWarDeployer
messageReceived
SEVERE: Application [/xxx] is being serviced. Touch war file [xxx.war
On 22/01/2014 10:24, Michael Gloegl wrote:
Can somebody shed any light here on what the serviced status means and how
we can avoid this FarmWarDeployer Failure?
It usually means that the manager application or the auto deployment
code is doing something (starting, stopping, deploying
I opened a Bug at https://issues.apache.org/bugzilla/show_bug.cgi?id=56051
I will give disabling automatic deployment a try and comment on the bug if that
changes things.
We are experimenting as well with just skipping the whole
Cluster/FarmWarDeployer thing completely and just deploying
Hi all
I've configured the FarmWarDeployer for a test cluster into my company
infrastructure (all nodes are windows server 2003), the
FarmWarDeployer seems to properly deploy new wars and it able to
undeploy removed wars, but doesn't seems to properly update war files
on replace.
Is this a normal
Tried also on Tomcat 7.0.22
Same behaviour: when i restart node1, FarmWarDeployer undeploy my war both
from node1 and node2, but re-deploy it only on node1.
If I touch my war in my watchDir on node1, tomcat redeploys it correctly on
both nodes...
Is tomcat clustering used?
If so, does anybody
I checked FarmWarDeployer's code.
When WAR is updated, FarmWarDeployer sends UndeployMessage and sends
FileMessage after that.
The node which received UndeployMessage undeploys war.
The node which received FileMessage deploys war.
If FileMessage is received while processing UndeployMessage
behavior.
Many thanks,
Marco
On Fri, Oct 21, 2011 at 12:10 PM, Keiichi Fujino kfuj...@apache.org wrote:
I checked FarmWarDeployer's code.
When WAR is updated, FarmWarDeployer sends UndeployMessage and sends
FileMessage after that.
The node which received UndeployMessage undeploys war.
The node
- Original Message -
From: Marco Betti m.be...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Friday, October 21, 2011 7:18 AM
Subject: Re: FarmWarDeployer undeploy on slave node when tomcat restart
Hi Keiichi,
many thanks for your suggestion.
By setting
Hi all,
I'm new to the list.
I'm trying to configure tomcat 6.0.33 clustering.
Session replication is ok.
I've a problem with FarmWarDeployer.
I found that:
1. You have to place the Cluster node under the Host element.
Tomcat 6.0.x complains that the element Cluster/Deployer element
I'm trying to use org.apache.catalina.ha.deploy.FarmWarDeployer with
Tomcat 7.0.12 to deploy my war files to a Tomcat cluster (two Tomcat's
both version 7.0.12.)
They war file is successfully deployed to both Tomcats but then the war
is immediately un-deployed from one of them.
The
to know the
configuration you are using for the FarmWarDeployer.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Sorry, I thought the question was obvious. It deploys but then undeploys
with the severe error I mentioned below. I don't want the error I
want the FarmWarDeployer to deploy the war to both Tomcats and
remain deployed...
C:/Tomcats/apache-tomcat-7.0.12_node1
C:/Tomcats/apache-tomcat
Hi,
Tomcat: 6.0.29, binary distribution downloaded from apache.org
JVM: 1.6.0_21 (Sun, 64-bit).
OS: Linux RHEL 5.5, fully patched.
I understand that FarmWarDeployer can only be used cluster context defined in a
Host, this is fine.
I have a cluster fully defined in the Engine context.
My
On 27/08/2010 09:41, Brett Delle Grazie wrote:
Hi,
Tomcat: 6.0.29, binary distribution downloaded from apache.org
JVM: 1.6.0_21 (Sun, 64-bit).
OS: Linux RHEL 5.5, fully patched.
I understand that FarmWarDeployer can only be used cluster context defined in
a Host, this is fine.
I have
On Fri, 2010-08-27 at 10:18 +0100, Pid wrote:
On 27/08/2010 09:41, Brett Delle Grazie wrote:
Hi,
Tomcat: 6.0.29, binary distribution downloaded from apache.org
JVM: 1.6.0_21 (Sun, 64-bit).
OS: Linux RHEL 5.5, fully patched.
I understand that FarmWarDeployer can only be used
that FarmWarDeployer can only be used cluster context defined
in a Host, this is fine.
I have a cluster fully defined in the Engine context.
If you only have one Host, this is a non-issue, right? Just move the
cluster definition from the Engine to the Host.
Alas I have two hosts (I realise my
Hi Pid,
That's what I suspected.
Thanks for your help.
Regards,
Brett
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Fri 27/08/2010 15:13
To: Tomcat Users List
Subject: Re: Engine Cluster definition and FarmWarDeployer
On 27/08/2010 11:40, Brett Delle Grazie wrote
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shammi,
On 8/6/2010 5:28 AM, sha...@arosys.com wrote:
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
From: Christopher Schultz ch...@christopherschultz.net
To: Tomcat Users List users@tomcat.apache.org
Sent: Fri, August 6, 2010 7:44:21 AM
Subject: Re: Is FarmWarDeployer is working?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shammi,
On 8/6/2010 5:28 AM, sha...@arosys.com wrote:
I have created
Hi,
I am trying to configure Cluster of Tomcat with two nodes and use
FarmWarDeployer to deploy between both the nodes. I have almost got
everything to work but now all of a sudden i am getting Application XYZ in
used. Touch war file XYZ.war again ! error at which point the application
See Thread at: http://www.techienuggets.com/Detail?tx=83985 Posted on behalf of
a User
I have the same issue, seems there is something wrong with this object, and you
do have an error message in your logs, it's SEVERE: FarmWarDeployer can only
work as host cluster subelement!.
According
/
ClusterListener
className=org.apache.catalina.cluster.session.ClusterSessionListener/
/Cluster
I configured it so that only tomcat 1 can deploy new webapps via the
FarmWarDeployer mechanism.
When I upload my war to the watchDir i see the following messages in
catalina.log
Hi guys!
I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16
(win32), and I have 2 instances on the same machine. All is working ok
except when I try to deploy a war file.=20
I have this cluster config(this is for node 2, node 1 only changes ports =
and
dirs):
Cluster
no work has been done on the farm deployer, and I can't say it has been
working reliably in 5.5 and 6.0
work and patches are welcome
Filip
Vicente Tarín Font wrote:
Hi guys!
I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16
(win32), and I have 2 instances on the same
/
/Cluster
I configured it so that only tomcat 1 can deploy new webapps via the
FarmWarDeployer mechanism.
When I upload my war to the watchDir i see the following messages in
catalina.log.
INFO: check cluster wars at /home/tomcat/war-listen
30-May-2007 13:07:37
className=org.apache.catalina.cluster.session.ClusterSessionListener/
/Cluster
I configured it so that only tomcat 1 can deploy new webapps via the
FarmWarDeployer mechanism.
When I upload my war to the watchDir i see the following messages in
catalina.log.
INFO: check cluster wars at /home
deploy new webapps via the
FarmWarDeployer mechanism.
When I upload my war to the watchDir i see the following messages in
catalina.log.
INFO: check cluster wars at /home/tomcat/war-listen
30-May-2007 13:07:37
org.apache.catalina.cluster.deploy.FarmWarDeployer fileModified
INFO: Installing webapp
Yes, not a nice feature change: -:( But the deployment system at
tomcat 5.5 has changed a lot, and I switch to easier way to get
FarmWarDeployer up and running (Tomcat 5.5.5 Release 12/04).
Last year nobody of the community ask for the separate depoyDir
feature and so this was not at my top
Hi All,
(This one is probably a Filip question...)
I have a 3-node cluster on Red Hat (2.6.9+ kernel) and I wish to use the
FarmWarDeployer. I have (of course!) RTFM and STFW and both have been
extremely helpful. I did note an old (2004-ish) post to this list from
Filip saying
DELETES MY webapps DIRECTORY! That can't be good either.
Thanks,
Tim
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 3:35 PM
To: Tomcat Users List
Subject: Re: FarmWarDeployer ROOT.war - / - How to?
so you are saying its all
Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 4:04 PM
To: Tomcat Users List
Subject: Re: FarmWarDeployer ROOT.war - / - How to?
two things:
1. I don't see that you specified path= in your Context element, I would
try that.
2. Deleting a .war deletes
.
Thanks,
Tim
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent:
Friday, March 31, 2006 3:35 PM
To: Tomcat Users List
Subject: Re: FarmWarDeployer ROOT.war - / - How to?
so you are saying its all working except that on a slave you get two
contexts, / and /ROOT
I currently look inside the FarmWarDeployer code and it seems that
the ROOT case is not handle really well.
OK, I have tomorrow time to make a really introspection and a test
the case.
Regards
Peter
Am 31.03.2006 um 23:04 schrieb Filip Hanik - Dev Lists:
two things:
1. I don't see
Tim Lucia Wrote:
and a more recent post from Peter Rossbach saying that it SHOULD be the
appBase.
[http://marc.theaimsgroup.com/?l=tomcat-userm=113828526109819w=2]
On Thursday 26 Jan 2006 11:33, Peter Rossbach wrote:
Please, set the deployDir to your webapps dir.
Peter
ha ha,
Alle Tuesday 21 March 2006 18:05, Filip Hanik - Dev Lists ha scritto:
Thank you Filip, please bear me one more time. I understand that only the
tomcat cluster master should have a watchDir configured and watchEnabled
set to true. The deployDir of all tomcat cluster members should point to
the
only one server should have (watchEnabled=true), this is the location
where you deploy all your files.
if you enable it on all servers, then just be careful so that you don't
deploy the same file in two locations and end up with a deployment
collission.
tempDir=/tmp/war-temp/ -- The directory
Hey,
the current FarmWarDeployer is only support development.
Active redeployment inside a cluster is very dangerous. You can have
problemes with different versions of classes or the classloader not free
all classes. My strategie is:
setup a new catalina.base.
Start the new generation
playing with fire. Without extensive knowledge could be detrimental
overtime. May I ask anybody who's implemented such architecture for a best
practices guide for this with the utilization of Farmwardeployer.
Small concern on farmwardeployer, if the farmwardeployer server went down
and was started
70 matches
Mail list logo