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 12:4

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 metad

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 Fil

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 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 PO

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, mis

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Théo Chamley
> On 20 Jan 2015, at 23:42, Christopher Schultz > 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 the execute bit?

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 th

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 : >> Hello, >> >> I have setup a Tomcat cluster and I am now trying to get the >> FarmWarDeployer to work. However, it seems that the Deployer >> n

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 mailto:ch...@christopherschultz.net>> wrote: Signed PGP part Théo, On 1/19/15 6:11 AM, Théo Chamley wr

Re: FarmWarDeployer not checking watchDir

2015-01-20 Thread Konstantin Kolinko
2015-01-13 21:38 GMT+03:00 Théo Chamley : > 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 indicat

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 >> > > wrote: >> >> Signed PGP part Théo, >> >> On 1/19/15 6:11 AM, Théo Chamley wrote: >>> On 2015-01-16 19:33

Re: FarmWarDeployer not checking watchDir

2015-01-19 Thread Théo Chamley
> On 19 Jan 2015, at 20:16, Christopher Schultz > 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 now trying to

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. Howev

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 t

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

FarmWarDeployer not checking watchDir

2015-01-13 Thread Théo Chamley
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:43