[kaffe] jBoss & Kaffe
Ronald Aigner
ra3@os.inf.tu-dresden.de
Wed May 14 08:05:02 2003
Hallo Helmer,
On Wednesday 14 May 2003 14:05, Helmer Kr=E4mer wrote:
> i'll commit a patch later this week, which will fix this
> issue (that is, I hope so, since eclipse does something
> similar and is starting w/o problems with my patch).
this would be could, but would fix only some of jBoss' problems:
A collegue of mine hacked a fixed path into the mentioned code, so jBoss go=
t a=20
little further. It then crashes with:
java.lang.ExceptionInInitializerError: [exception was=20
java.lang.ClassCircularityError]
at org.jboss.system.server.ServerImpl.init(ServerImpl.java:113)
at org.jboss.Main.boot(Main.java:149)
at org.jboss.Main$1.run(Main.java:387)
at java.lang.Thread.run(Thread.java:334)
The respective code snippet is:
ClassLoader oldCL =3D Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(
getClass().getClassLoader());
doInit(props);
} finally {
Thread.currentThread().setContextClassLoader(oldCL);
}
it crashes on line "doInit(props);". I can't reproduce it here and deliver=
=20
some debug messages, because I can't compile jBoss using ant. It crashes=20
with:
Searching for build.xml ...
Buildfile: /home/ra3/tmp/jboss-3.0.7-src/build/build.xml
BUILD FAILED
java.lang.ExceptionInInitializerError: [exception was=20
java.lang.NoClassDefFoundError:=20
Lorg/apache/tools/ant/taskdefs/optional/splash/SplashScreen;]
at java.lang.ClassLoader.resolveClass0(ClassLoader.java:native)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:199)
at java.lang.ClassLoader.loadClass(ClassLoader.java:156)
at java.lang.Class.forName(Class.java:74)
at java.lang.Class.forName(Class.java:43)
at org.apache.tools.ant.Project.init(Project.java:274)
at org.apache.tools.ant.Main.runBuild(Main.java:582)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 0 seconds
java.lang.ExceptionInInitializerError: [exception was=20
java.lang.NoClassDefFoundError:=20
Lorg/apache/tools/ant/taskdefs/optional/splash/SplashScreen;]
at java.lang.ClassLoader.resolveClass0(ClassLoader.java:native)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:199)
at java.lang.ClassLoader.loadClass(ClassLoader.java:156)
at java.lang.Class.forName(Class.java:74)
at java.lang.Class.forName(Class.java:43)
at org.apache.tools.ant.Project.init(Project.java:274)
at org.apache.tools.ant.Main.runBuild(Main.java:582)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
[exception was java.lang.NoClassDefFoundError:=20
Lorg/apache/tools/ant/taskdefs/optional/splash/SplashScreen;]
Seems like I have to get the ant files correctly installed...=20
Greetings Ron.
=2D-=20
Mit freundlichen Gruessen/With regards
ra3 @ os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/~ra3/