Thanks Chris,

It looks like that's true.  It turns out this wasn't a permissions issue
at all.  For some reason copying the JAR files out of the directory and
back into it caused them to be picked up (I read this in a suggestion
somewhere).  Reading the 'man' entry for cp I see that it doesn't preserve
"Access Control Lists (ACLs) and Extended Attributes (EAs), including
resource forks" unless the -p flag is set (this is on by default when
using mv).  My guess is that removing this "access control" information
somehow made the files accessible to the tomcat7-maven-plugin.  It seems a
little sketchy that I don't really know the root cause of the problem, but
I'm happy that it's now fixed.

-Alex

On 2/11/15, 8:13 AM, "Christopher Schultz" <ch...@christopherschultz.net>
wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA256
>
>Alexander,
>
>On 2/10/15 8:48 PM, Alexander Johnson wrote:
>> Thanks for the suggestions.  I don't have access to the server
>> where this is happening, but I did get a script to run there:
>> 
>> echo Displaying JAR files with current permissions... ls -la
>> ./target/MyProject/WEB-INF/lib/  echo Adding read, write, and
>> execute permissions to JAR files... chmod -R 777
>> ./target/MyProject/WEB-INF/lib/
>
>This will add permissions you don't need, and add them to files and
>directories that you don't know about. Specifically, write+execute for
>the JAR files. If you can read them, that's sufficient.
>
>- -chris
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1
>Comment: GPGTools - http://gpgtools.org
>
>iQIcBAEBCAAGBQJU23+MAAoJEBzwKT+lPKRYwb4P/AuWOZW445juxgapV/RpaY6t
>Dk6243ECPiiweMwoHJGKjXA7NvmGW56mHutqQyfCZtnSttF26IaUkFozzlCE4dng
>SDXoB/POy5mWzTGy2Wn54H7Bvq19ANUdpS+bkgHs09pOE72wFJ8RJ30A0AjmwahA
>Mj3p5mXqXpozeExjTuwx8w0D5FGS89eW7QmBagqYvo9Or3c4o4jZz2TsclTePOLr
>Pf+3TUOPbTYePItXYdVfrUlvPKb4jmtGTwu58FLQxaF1kXnJJ3jiJE4BF2F38wi7
>tec6G9Qp4uzyYkqcAoDC5YoJ1/aVmDpynfKBtfGmSvPgcqyvrYIFcwXD99Pl59Wv
>wDncLcHP9yfB5bh5P87w47Pu6A5wmwn6YndUQIpDnYEI5JvgNb61vmR6crRvo/CQ
>NbnodyfFYkrbZ486/cDAHP3sjusAlUvRWmbkZUQY/DY9ZZLK1ZF3wADEKQlsTtRC
>Kyj1oGmO3/2y2fMojAK4hO8FSR9ZyiCXMhDsDMfvgL/aXm7TubfDdT44S9p0Vq+o
>olCbtDhjErnfcjX9CVDXZidfUFsiibF1/ELna7L26yyPmo+n6ezsh/kuI/RDCKaR
>I5uMnVQZVVzOHa42BHLLVU2y8WkkC1mZBd5FF+tEBrIbtq0jo5LQ5aX9nihY7PAM
>SRWuy5WNJvv99vKFFYyr
>=33Jz
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>


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

Reply via email to