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/ echo Displaying JAR files with updated permissions... ls -la ./target/MyProject/WEB-INF/lib/ This produces output like the following: [INFO] --- exec-maven-plugin:1.3.2:exec (update_jar_file_permissions) @ MyProject --- Displaying JAR files with current permissions... total 124556 drwxr-xr-x 2 jenkins users 20480 Feb 10 17:26 . drwxr-xr-x 6 jenkins users 4096 Feb 10 17:26 .. -rw-r--r-- 1 jenkins users 62983 Jan 22 00:11 activation-1.1.jar -rw-r--r-- 1 jenkins users 351656 Jan 22 00:25 amqp-client-3.1.3.jar -rw-r--r-- 1 jenkins users 74080 Jan 22 00:25 annotations-2.0.0.jar -rw-r--r-- 1 jenkins users 445288 Jan 22 00:25 antlr-2.7.7.jar -rw-r--r-- 1 jenkins users 895124 Jan 22 00:25 antlr-3.2.jar Adding read, write, and execute permissions to JAR files... Displaying JAR files with updated permissions... total 124556 drwxrwxrwx 2 jenkins users 20480 Feb 10 17:26 . drwxr-xr-x 6 jenkins users 4096 Feb 10 17:26 .. -rwxrwxrwx 1 jenkins users 62983 Jan 22 00:11 activation-1.1.jar -rwxrwxrwx 1 jenkins users 351656 Jan 22 00:25 amqp-client-3.1.3.jar -rwxrwxrwx 1 jenkins users 74080 Jan 22 00:25 annotations-2.0.0.jar -rwxrwxrwx 1 jenkins users 445288 Jan 22 00:25 antlr-2.7.7.jar -rwxrwxrwx 1 jenkins users 895124 Jan 22 00:25 antlr-3.2.jar As you can see, there WERE missing permissions. However, this hasn't solved the problem: Feb 10, 2015 5:27:54 PM org.apache.tomcat.util.scan.StandardJarScanner scan WARNING: Failed to scan JAR [file:/opt/jenkins/workspace/MY_JENKINS_JOB/tomcat7/webapps/../../target/MY _PROJECT/WEB-INF/lib/activation-1.1.jar] from WEB-INF/lib java.io.FileNotFoundException: /opt/jenkins/workspace/MY_JENKINS_JOB/tomcat7/webapps/../../target/MY_PROJE CT/WEB-INF/lib/activation-1.1.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) I'm still at a loss... -Alex On 2/6/15, 1:45 AM, "Mark Thomas" <ma...@apache.org> wrote: >On 06/02/2015 08:16, Alexander Johnson wrote: >> I'd like to know what could cause Tomcat or the native Java ZipFile.open >> method to claim that a file does not exist when it actually does?\\ > >Usually file permissions on the file or one of the directories it is in. > >Other possibilities include using symlinks without explicitly enabling >Tomcat to follow them. > > >> This >> has been a blocking issue for some of my work for the past month. It's >> happening when attempting to run the tomcat7-maven-plugin. > >Never used it so I don't have any other suggestions I am afraid. > >Mark > >--------------------------------------------------------------------- >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