[jboss-user] [Installation, Configuration & DEPLOYMENT] - Starting JBoss 5.1.0 using JAVA 1.5

jimmy001 do-not-reply at jboss.com
Mon Jul 20 10:33:19 EDT 2009


I have successfully downloaded the binary package from sourceforge
(jboss 5.1.0.GA.zip). When starting I receive the error msg:

  | WARN  [org.jboss.detailed.classloader.ClassLoaderManager] Unexpected error during load of:org.jboss.resource.metadata.repository.DefaultJCAMetaData
  | Repository
  | java.lang.UnsupportedClassVersionError: Bad version number in .class file
  |         at java.lang.ClassLoader.defineClass1(Native Method)
  |         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  |         at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLo
  | ader.java:63)
  |         at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.
  | java:546)
  |         at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.
  | java:506)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC
  | lassLoader.java:504)
  |         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC
  | lassLoader.java:481)
  |         at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDeleg
  | ateLoader.java:134)
  |         at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(Fil
  | teredDelegateLoader.java:131)
  |         at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassL
  | oadingTask.java:452)
  |         at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoade
  | rManager.java:258)
  |         at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoader
  | Manager.java:152)
  |         at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseCl
  | assLoaderDomain.java:259)
  |         at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseCl
  | assLoaderDomain.java:1102)
  |         at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(Ba
  | seClassLoader.java:772)
  |         at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoa
  | der.java:415)
  |         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

It seems that some files are compiled with JAVA 1.6, because when using JAVA 1.6. the problem doesn't occur (Unfortunatley upgrading to 1.6 is not a viable solution).
As a second step I downloaded the source version and compiled it with JAVA 1.5, but the error remains. It seems that the 1.6 - class(es) are provided in a jar file.

http://www.jboss.org/community/wiki/JBossVsJavaJDKVersionMatrix is mentioned, that Jboss 5.0 runs under JAVA 5.0. Are there any other resources, where a release can be obtained, which starts under JDK 5.0 or is there something else I overlooked? Searching the net, I found out, that several people have the same problem. Last resort would be to fetch the source from svn and compile it.. well, not my preferred solution. 

Any help appreciated and thanks in advance


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244662#4244662

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244662

More information about the jboss-user mailing list