java.io.IOException: Cannot run program "java" (in directory "/opt/eustfnt3/jenkins/jobs/AceCasualtyUWPortal_Release3/workspace/AceCasualtyPortal"): error=13, The file access permissions do not allow the specified action.

Jenkins JIRA | kamal kishore | 3 years ago
  1. 0

    Hi There, I am facing below issue when trying to parse a pom.xml. COuld you please suggest. Parsing POMs $ java -Xms256m -Xmx512m -cp /opt/eustfnt3/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/opt/eustfnt3/maven/apache-maven-3.1.0/boot/plexus-classworlds-2.4.2.jar:/opt/eustfnt3/maven/apache-maven-3.1.0/conf/logging jenkins.maven3.agent.Maven31Main /opt/eustfnt3/maven/apache-maven-3.1.0/ /opt/eustfnt3/jenkins/war/WEB-INF/lib/remoting-2.32.jar /opt/eustfnt3/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /opt/eustfnt3/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 39028 ERROR: Failed to parse POMs java.io.IOException: Cannot run program "java" (in directory "/opt/eustfnt3/jenkins/jobs/AceCasualtyUWPortal_Release3/workspace/AceCasualtyPortal"): error=13, The file access permissions do not allow the specified action. at java.lang.ProcessBuilder.start(ProcessBuilder.java:471) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:238) at hudson.maven.ProcessCache.get(ProcessCache.java:235) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.IOException: error=13, The file access permissions do not allow the specified action. at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:112) at java.lang.ProcessBuilder.start(ProcessBuilder.java:464) ... 12 more

    Jenkins JIRA | 3 years ago | kamal kishore
    java.io.IOException: Cannot run program "java" (in directory "/opt/eustfnt3/jenkins/jobs/AceCasualtyUWPortal_Release3/workspace/AceCasualtyPortal"): error=13, The file access permissions do not allow the specified action.
  2. 0

    Hi There, I am facing below issue when trying to parse a pom.xml. COuld you please suggest. Parsing POMs $ java -Xms256m -Xmx512m -cp /opt/eustfnt3/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/opt/eustfnt3/maven/apache-maven-3.1.0/boot/plexus-classworlds-2.4.2.jar:/opt/eustfnt3/maven/apache-maven-3.1.0/conf/logging jenkins.maven3.agent.Maven31Main /opt/eustfnt3/maven/apache-maven-3.1.0/ /opt/eustfnt3/jenkins/war/WEB-INF/lib/remoting-2.32.jar /opt/eustfnt3/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /opt/eustfnt3/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 39028 ERROR: Failed to parse POMs java.io.IOException: Cannot run program "java" (in directory "/opt/eustfnt3/jenkins/jobs/AceCasualtyUWPortal_Release3/workspace/AceCasualtyPortal"): error=13, The file access permissions do not allow the specified action. at java.lang.ProcessBuilder.start(ProcessBuilder.java:471) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:238) at hudson.maven.ProcessCache.get(ProcessCache.java:235) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.IOException: error=13, The file access permissions do not allow the specified action. at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:112) at java.lang.ProcessBuilder.start(ProcessBuilder.java:464) ... 12 more

    Jenkins JIRA | 3 years ago | kamal kishore
    java.io.IOException: Cannot run program "java" (in directory "/opt/eustfnt3/jenkins/jobs/AceCasualtyUWPortal_Release3/workspace/AceCasualtyPortal"): error=13, The file access permissions do not allow the specified action.
  3. 0

    Jenkins Error :java.io.IOException: error=13, Permission denied

    Stack Overflow | 1 year ago | varun
    java.io.IOException: Cannot run program "/home/qaserver3/app/jdk1.6.0_45/bin/java" (in directory "/var/lib/jenkins/jobs/SpringHelloWorld3/workspace"): error=13, Permission denied
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins returns with Failed to parse POMs

    Stack Overflow | 10 months ago | Admin admin
    java.io.IOException: Cannot run program "/usr/lib/jvm/java-7-openjdk-amd64/bin/java/bin/java" (in directory "/home/operations/workspace/mvnj"): error=20, Not a directory
  6. 0

    Maven error in Jenkins

    Stack Overflow | 10 months ago | lova
    java.io.IOException: Cannot run program "java" (in directory "/.../org.jenkins-ci.main/maven-plugin"): error=2, No such file or directory

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=13, The file access permissions do not allow the specified action.

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    2. java.lang.ProcessImpl.start(ProcessImpl.java:112)
    3. java.lang.ProcessBuilder.start(ProcessBuilder.java:464)
    3 frames
  3. Hudson
    Launcher$ProcStarter.start
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:353)
    4 frames
  4. Hudson Maven Embedder
    MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
    1. hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:238)
    2. hudson.maven.ProcessCache.get(ProcessCache.java:235)
    3. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739)
    3 frames
  5. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
    2. hudson.model.Run.execute(Run.java:1665)
    2 frames
  6. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
    1 frame
  7. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:246)
    2 frames