Disconnecting the slave, and then reconnecting solved the problem for us. 
 This causes jenkins to refresh the runtime jars on the slave.

On Wednesday, June 17, 2015 at 12:55:57 PM UTC-7, [email protected] wrote:
>
> We ultimately got our server administrator to restart Jenkins, and now the 
> builds are working.  If anybody out there has this same issue - try that 
> first!
>
> On Wednesday, June 17, 2015 at 9:31:10 AM UTC-6, [email protected] wrote:
>>
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/94ba7b18-b9f1-4380-9bec-faa8c52a1671%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to