"FelderR" wrote : JBoss 4.0.5 works fine with Java 6!
|
| Just tried to run JBoss 5.0.0 beta 2 with Java 6 and failed:
|
| java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
|
| The server does not come up as it runs into the following bug within JDK 1.6.0:
|
|
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149
|
|
| Any workarounds planned by JBoss?
|
This has been extensively discussed on the EJB 3 forum. It is not a bug in JDK 6, but a
bug in several parts of the JBoss AS. The problem stems from the improper use of
classloaders -- classes should be loaded with Class.forName(name), not
obj.class.getClassLoader().loadClass(name). The latter method worked up until JDK 6 due to
an unintended side effect of the class loading mechanism. This has already been fixed in
JBoss Remoting, but apparently not in other programs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040959#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...