-
Bug
-
Resolution: Fixed
-
Blocker
-
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
total used free shared buffers cached
Mem: 24030 6722 17307 0 34 2564
-/+ buffers/cache: 4123 19906
Swap: 2055 420 1634
Quad Code Xeon @ 2GHz
Jenkins RPM:
jenkins-1.539-1.2
Java (Oracle):
java-1_6_0-sun-1.6.0.u45-1.1
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
CMDLine:
/usr/lib64/jvm/java/bin/java -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:PermSize=768m -Xmx4096m -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --javaHome=/usr/lib64/jvm/java --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --httpPort=9080 --ajp13Port=9009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 --prefix=/jenkins
Free Space for Jenkins approx. 350GBSUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 2 total used free shared buffers cached Mem: 24030 6722 17307 0 34 2564 -/+ buffers/cache: 4123 19906 Swap: 2055 420 1634 Quad Code Xeon @ 2GHz Jenkins RPM: jenkins-1.539-1.2 Java (Oracle): java-1_6_0-sun-1.6.0.u45-1.1 java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode) CMDLine: /usr/lib64/jvm/java/bin/java -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:PermSize=768m -Xmx4096m -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --javaHome=/usr/lib64/jvm/java --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --httpPort=9080 --ajp13Port=9009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 --prefix=/jenkins Free Space for Jenkins approx. 350GB
The current version of Jenkins is only capable of running Maven 3 Tasks when the Artifactory Plugin version 2.2.1 is installed.
Any Maven 2 I tried fails with the java exception from below.
This breaks all of our jobs since we develop Atlassian JIRA/Confluence plugins and thus need Atlassians Maven 2 (or equivalent).
Googling did not produce anything suitable
I will attach any logfiles if required, please let me know.
This failure occurred after upgrading to the latest version from (I think) 1.531 (RPM)
Jenkins is running as user "jenkins"
This is the Java stacktrace:
—
java.io.IOException: Remote call on Channel to Maven [java, -Djava.awt.headless=true, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Default_Maven_2/boot/classworlds-1.1.jar, hudson.maven.agent.Main, /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Default_Maven_2, /tmp/jetty-0.0.0.0-9080-jenkins.war-_jenkins-any-/webapp/WEB-INF/lib/remoting-2.32.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.4.jar, 58820, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar] failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:823) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1679) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/codehaus/classworlds/RealmClassLoader) previously initiated loading for a different type with name "org/codehaus/plexus/configuration/PlexusConfiguration" at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2436) at java.lang.Class.getMethod0(Class.java:2679) at java.lang.Class.getMethod(Class.java:1605) at hudson.maven.MavenBuilder.callSetListenerWithReflectOnInterceptors(MavenBuilder.java:211) at hudson.maven.MavenBuilder.callSetListenerWithReflectOnInterceptorsQuietly(MavenBuilder.java:231) at hudson.maven.MavenBuilder.call(MavenBuilder.java:199) at hudson.maven.Maven2Builder.call(Maven2Builder.java:79) at hudson.maven.Maven2Builder.call(Maven2Builder.java:55) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)