Hello,

I have been searching for an answer to this problem, and what I've found so 
far refers to slaves and other terminology I don't know.  I am not an 
administrator, just someone who uses Jenkins to run builds for our Java 
projects.  We have one project that uses Maven, and we have just recently 
started getting errors that show:


[EnvInject] - Variables injected successfully.
Parsing POMs
Discovered a new module com.bc.woodCustomer:WoodCustomerBuild Wood Customer 
Build Project (Maven Build)
Discovered a new module com.bc.woodCustomer:WoodCustomerEar Wood Customer Ear
Discovered a new module com.bc.woodCustomer:WoodCustomerWeb Wood Customer Web
Modules changed, recalculating dependency graph
[WoodCustomerBuild] $ /opt/java//bin/java -cp 
/opt/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/opt/maven/boot/plexus-classworlds-2.5.1.jar:/opt/maven/conf/logging
 jenkins.maven3.agent.Maven31Main /opt/maven 
/tmp/jetty-0.0.0.0-8090-jenkins.war--any-/webapp/WEB-INF/lib/remoting-2.32.jar 
/opt/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar 
/opt/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar
 42886
Exception in thread "main" java.lang.ClassNotFoundException: 
hudson.remoting.Launcher
        at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
        at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
        at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
        at jenkins.maven3.agent.Maven31Main.main(Maven31Main.java:138)
        at jenkins.maven3.agent.Maven31Main.main(Maven31Main.java:67)
ERROR: Failed to parse POMsjava.net.SocketException 
<http://stacktrace.jenkins-ci.org/search?query=java.net.SocketException>: 
Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:189) 
<http://stacktrace.jenkins-ci.org/search/?query=java.net.SocketInputStream.read&entity=method>
        at java.net.SocketInputStream.read(SocketInputStream.java:121) 
<http://stacktrace.jenkins-ci.org/search/?query=java.net.SocketInputStream.read&entity=method>
        at java.io.FilterInputStream.read(FilterInputStream.java:133) 
<http://stacktrace.jenkins-ci.org/search/?query=java.io.FilterInputStream.read&entity=method>
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) 
<http://stacktrace.jenkins-ci.org/search/?query=java.io.BufferedInputStream.fill&entity=method>
        at java.io.BufferedInputStream.read(BufferedInputStream.java:254) 
<http://stacktrace.jenkins-ci.org/search/?query=java.io.BufferedInputStream.read&entity=method>
        at 
hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:133)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ClassicCommandTransport.create&entity=method>
        at hudson.remoting.Channel.<init>(Channel.java:406) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.%3Cinit%3E&entity=method>
        at hudson.remoting.Channel.<init>(Channel.java:402) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.%3Cinit%3E&entity=method>
        at hudson.remoting.Channel.<init>(Channel.java:363) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.%3Cinit%3E&entity=method>
        at hudson.remoting.Channel.<init>(Channel.java:359) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.%3Cinit%3E&entity=method>
        at hudson.remoting.Channel.<init>(Channel.java:355) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.%3Cinit%3E&entity=method>
        at hudson.slaves.Channels$1.<init>(Channels.java:71) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.Channels$1.%3Cinit%3E&entity=method>
        at hudson.slaves.Channels.forProcess(Channels.java:71) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.Channels.forProcess&entity=method>
        at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:252)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.AbstractMavenProcessFactory.newProcess&entity=method>
        at hudson.maven.ProcessCache.get(ProcessCache.java:235) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.ProcessCache.get&entity=method>
        at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:736)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
        at hudson.model.Run.execute(Run.java:1665) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:507) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:88) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.java:246) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Finished: FAILURE


This same configuration has worked previously.


We are using Jenkins version 1.535.


I read one post that said if you don't have anything in the workspace, the 
build succeeds. I have tried copying the configuration to a new job, and 
actually creating a new job, both of which have no workspace, and both of those 
get the same error.


Can anyone help me with this issue?


Thanks,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2ac51f4f-aa77-470f-b675-66caa8e218ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to