geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anup Katariya <Anup.Katar...@integral.com>
Subject why do unit test hangs?
Date Tue, 02 Dec 2003 06:24:17 GMT
Hello,

While building Geronimo, some times test cases hangs. Its not particular
test case though.
When I tried to build next time, I got the following error.

test:test:
    [junit] Running org.apache.geronimo.cache.LRUInstanceCacheTest
    [junit] java.lang.UnsupportedClassVersionError:
org/apache/geronimo/cache/LRUInstanceCacheTest (Unsupported major.m
nor version 48.0)
    [junit]     at java.lang.ClassLoader.defineClass0(Native Method)
    [junit]     at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
    [junit]     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    [junit]     at
java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    [junit]     at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]     at java.security.AccessController.doPrivileged(Native
Method)
    [junit]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    [junit]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    [junit]     at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    [junit]     at java.lang.Class.forName0(Native Method)
    [junit]     at java.lang.Class.forName(Class.java:120)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:237)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:210)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:532)
    [junit] Exception in thread "main"
    [junit] [ERROR] TEST org.apache.geronimo.cache.LRUInstanceCacheTest
FAILED
    [junit] Running org.apache.geronimo.cache.SimpleInstanceCacheTest

Is it a network/firewall  issue? 

I thought even though unit tests are not build, I should be able to start
Gernimo using maven run:main , but
then I got this output

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT


BUILD FAILED
File...... file:/D:/Anup/geronimo/incubator-geronimo/
Element... java
Line...... 546
Column.... 34
D:\Anup\geronimo\incubator-geronimo\target\geronimo-DEV\bootlib not found.
Total time: 2 seconds
Finished at: Tue Dec 02 11:45:23 IST 2003


Anup Katariya

Integral India Development Corporation
Tel: 080- 51293800
Mobile: 9845775404



Mime
View raw message