Hi, Rob! 

It happens when I run a job.I run this prebuild script just before, and 
this "analizepom" seems to work. I'll try to set PATH variable better

*21:31:41*  no change for 
https://murgi.larural.es:800/corebanking/framework/ext-libs/trunk since the 
previous build*21:31:41*  [ext-libs] $ /bin/sh -xe 
/tmp/hudson4719096548760543199.sh*21:31:41*  + java -jar 
/cis/jenkins/software/analizepom.jar pom.xml CHECK-SNAPSHOT

*21:31:42*  Parsing POMs*21:31:43*  [ext-libs] $ java -Xms1024m -Xmx1024m 
-XX:MaxPermSize=256m 
-Dm3plugin.lib=/shared/cis/slavejenkins/workspace/artifactory-plugin/2.0.7 -cp 
/shared/cis/slavejenkins/maven3-agent.jar:/shared/cis/maven/maven/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main /shared/cis/maven/maven 
/tmp/test_slave_jenkins/slave.jar 
/shared/cis/slavejenkins/maven3-interceptor.jar 39207*21:31:43*  ERROR: Failed 
to parse POMs



On Thursday, July 5, 2012 9:51:49 PM UTC+2, Mandeville, Rob wrote:
>
>  Looks like a JVM is being asked, not to fork, but to launch a program 
> that happens to be called “java”.  My first guess is that the slave doesn’t 
> have a path to java in its environment.
>
>  
>
> Is this happening when you launch the slave, or when you run a job on it?  
> If  the former, whatever you’re using to launch it doesn’t know where to 
> find a JVM.  If the latter, your slave may have an environment issue.
>
>  
>
> --Rob
>
>  
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *David Mata
> *Sent:* Thursday, July 05, 2012 3:38 PM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Problem running slaves
>
>  
>
> Hello. 
>  
>  
>  
> Does anybody know why jenkisn slave cab give this to me?
>  
>  
>  
> Thank you all
>  
>  
>  
> *21:31:43*  java.io.IOException 
> <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Cannot 
> run program "java" (in directory 
> "/shared/cis/slavejenkins/workspace/ext-libs"): java.io.IOException: error=2, 
> No such file or directory
>
> *21:31:43*         at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessBuilder.start&entity=method>
>
> *21:31:43*         at hudson.Proc$LocalProc.<init>(Proc.java:244) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method>
>
> *21:31:43*         at hudson.Proc$LocalProc.<init>(Proc.java:216) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method>
>
> *21:31:43*         at hudson.Launcher$LocalLauncher.launch(Launcher.java:709) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$LocalLauncher.launch&entity=method>
>
> *21:31:43*         at hudson.Launcher$ProcStarter.start(Launcher.java:338) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.start&entity=method>
>
> *21:31:43*         at 
> hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:934) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$RemoteLaunchCallable.call&entity=method>
>
> *21:31:43*         at 
> hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:901) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$RemoteLaunchCallable.call&entity=method>
>
> *21:31:43*         at 
> hudson.remoting.UserRequest.perform(UserRequest.java:118) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method>
>
> *21:31:43*         at 
> hudson.remoting.UserRequest.perform(UserRequest.java:48) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method>
>
> *21:31:43*         at hudson.remoting.Request$2.run(Request.java:287) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method>
>
> *21:31:43*         at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method>
>
> *21:31:43*         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask$Sync.innerRun&entity=method>
>
> *21:31:43*         at 
> java.util.concurrent.FutureTask.run(FutureTask.java:138) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method>
>
> *21:31:43*         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.runTask&entity=method>
>
> *21:31:43*         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method>
>
> *21:31:43*         at java.lang.Thread.run(Thread.java:662) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method>
>
>   The information in this message is for the intended recipient(s) only 
> and may be the proprietary and/or confidential property of Litle & Co., 
> LLC, and thus protected from disclosure. If you are not the intended 
> recipient(s), or an employee or agent responsible for delivering this 
> message to the intended recipient, you are hereby notified that any use, 
> dissemination, distribution or copying of this communication is prohibited. 
> If you have received this communication in error, please notify Litle & Co. 
> immediately by replying to this message and then promptly deleting it and 
> your reply permanently from your computer.
>  

Reply via email to