-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Debian Lenny running Linux 2.6.26-2-amd64
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
Tomcat 5.5
Greetings,
I have upgraded my Jenkins server at home using the latest 1.399 WAR with the intention to fix #JENKINS-8647 (growing log files due to an issue in JmDNS) but it seems that the compatibility with Java 5 is broken by jmdns-3.4.0.jar
I get the following stack trace in my catalina.log at server initialization:
---------- 28 févr. 2011 22:59:49 hudson.WebAppMain$2 run GRAVE: Failed to initialize Hudson java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at hudson.DNSMultiCast.<init>(DNSMultiCast.java:26) at hudson.model.Hudson.<init>(Hudson.java:691) at hudson.model.Hudson.<init>(Hudson.java:605) at hudson.WebAppMain$2.run(WebAppMain.java:221) ----------
I will try to build JmDNS 3.4.0 with a Java 5 JDK and see if it fixes the issue. I believe this should be patched in the next release, I might not be the last person stuck with Java 5
Thanks & regards,
--JB.L
- duplicates
-
JENKINS-8909 UnsupportedClassVersionError: Bad version number in .class file
- Closed
- is duplicated by
-
JENKINS-9014 jmdns-3.4.0.jar compiled with java 1.6 classes => Works not with WebSphere 6.1 (java5)
- Resolved
- is related to
-
JENKINS-6653 java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class javax.jmdns.JmDNS
- Closed
-
JENKINS-8647 Hudson 1.395 logs many messages about RecordReaper IllegalArgumentException
- Closed