[kaffe] jBoss & Kaffe

Ronald Aigner ra3 at os.inf.tu-dresden.de
Wed May 14 08:05:02 PDT 2003


Hallo Helmer,

On Wednesday 14 May 2003 14:05, Helmer Krämer 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 got a 
little further. It then crashes with:

java.lang.ExceptionInInitializerError: [exception was 
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 = 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 
some debug messages, because I can't compile jBoss using ant. It crashes 
with:
Searching for build.xml ...
Buildfile: /home/ra3/tmp/jboss-3.0.7-src/build/build.xml

BUILD FAILED
java.lang.ExceptionInInitializerError: [exception was 
java.lang.NoClassDefFoundError: 
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 
java.lang.NoClassDefFoundError: 
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: 
Lorg/apache/tools/ant/taskdefs/optional/splash/SplashScreen;]

Seems like I have to get the ant files correctly installed... 

Greetings Ron.
-- 
Mit freundlichen Gruessen/With regards
ra3 @ os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/~ra3/




More information about the kaffe mailing list