Home Help Center

IceJ regression test failed!

rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
I have recompiled IceJ and run the regression test. but it failed in some tests:

=================================================
iceuser localhost%pwd
/home/iceuser/work/products/opensource/IceJ-2.0.0/test/Freeze/dbmap

iceuser localhost%echo $CLASSPATH
/usr/local/BerkeleyDB.4.2/lib

iceuser localhost%ls $CLASSPATH/*.jar
/usr/local/BerkeleyDB.4.2/lib/db.jar

iceuser localhost%python run.py
starting client... ok
Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/db/DbEnv
at Freeze.Util.createConnection(Util.java:33)
at Client.run(Client.java:201)
at Client.main(Client.java:585)


Traceback (most recent call last):
File "run.py", line 36, in ?
TestUtil.printOutputFromPipe(clientPipe)
File "../../../config/TestUtil.py", line 115, in printOutputFromPipe
c = pipe.read(1)
KeyboardInterrupt

iceuser localhost%

=================================================

It seems that it is relerant to Berkeley DB. But i can not figure out what's the problem! Thank you for your help!

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Your CLASSPATH must include the .jar file, not the directory that contains the .jar file. For example:

    CLASSPATH=/usr/local/BerkeleyDB.4.2/lib/db.jar
  • rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
    Thank you! It's Ok now!
Sign In or Register to comment.