Re: FarmWarDeployer not checking watchDir

2015-01-21 Thread Théo Chamley
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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Konstantin Kolinko
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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Théo, On 1/19/15 3:59 PM, Théo Chamley wrote: On 19 Jan 2015, at 20:16, Christopher Schultz ch...@christopherschultz.net mailto:ch...@christopherschultz.net wrote: Signed PGP part Théo, On 1/19/15 6:11 AM, Théo Chamley wrote: On

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Théo Chamley
On 2015-01-20 16:33, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Théo, On 1/19/15 3:59 PM, Théo Chamley wrote: On 19 Jan 2015, at 20:16, Christopher Schultz ch...@christopherschultz.net mailto:ch...@christopherschultz.net wrote: Signed PGP part Théo, On

RE: FarmWarDeployer not checking watchDir

2015-01-20 Thread Caldarale, Charles R
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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Christopher Schultz
-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 that the

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Christopher Schultz
-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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Christopher Schultz
-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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Christopher Schultz
-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

RE: FarmWarDeployer not checking watchDir

2015-01-20 Thread Caldarale, Charles R
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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Christopher Schultz
-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

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Théo Chamley
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

Re: FarmWarDeployer not checking watchDir

2015-01-19 Thread Théo Chamley
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 and

Re: FarmWarDeployer not checking watchDir

2015-01-19 Thread Christopher Schultz
-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, it

Re: FarmWarDeployer not checking watchDir

2015-01-19 Thread Théo Chamley
On 19 Jan 2015, at 20:16, Christopher Schultz ch...@christopherschultz.net wrote: Signed PGP part 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

Re: FarmWarDeployer not checking watchDir

2015-01-16 Thread Christopher Schultz
-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.