Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-06-2004
ponyboy ponyboy is offline
Registered User
 
 
Join Date: Apr 2004
Location: P.R. CHINA
Posts: 6
ice-freeze test fail?

when test the $ICE_HOME\test\freeze\dbmap,report error

java.lang.UnsatisfiedLinkError:$ICE_HOME\bin\libdb _java42.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1485)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.sleepycat.db.db_javaJNI.<clinit>(db_javaJNI.ja va:29)
at com.sleepycat.db.DbEnv.<init>(DbEnv.java:1081)
at Freeze.SharedDbEnv.<init>(SharedDbEnv.java:231)
at Freeze.SharedDbEnv.get(SharedDbEnv.java:31)
at Freeze.ConnectionI.<init>(ConnectionI.java:113)
at Freeze.Util.createConnection(Util.java:38)
at src.cient.main(cient.java:9)

I have indicate the vm parameters as follow:
-Djava.library.path=$ICE_HOME\Ice-1.3.0\bin

So the $ICE_HOME\Ice-1.3.0\bin include the libdb_java42.dll.


why?
__________________
chenchen
Reply With Quote
  #2 (permalink)  
Old 04-06-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

You should add $ICE_HOME\bin to your PATH. Also, you should probably download the updated Ice.jar file I posted here.

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 04-07-2004
ponyboy ponyboy is offline
Registered User
 
 
Join Date: Apr 2004
Location: P.R. CHINA
Posts: 6
thanks

I have solve the problem by using the ice.jar you mailed to me.
But it seems the vm parameter "-Djava.library.path=$ICE_HOME\bin" is
redundant. I can obtain the same right answer without the parameter.
__________________
chenchen
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
DefaultContext fail on Ice-3.0.0 ? phia Help Center 1 01-11-2006 11:05 AM
Fail in test Francis Rioux Help Center 3 12-07-2005 12:35 PM
Freeze test error wwwtiger Help Center 5 11-09-2004 10:15 PM
IceJ-Freeze test fails shantanu_k06 Help Center 6 04-04-2004 12:51 PM
Test fail Diego Giraldez Help Center 6 05-09-2003 02:16 PM


All times are GMT -4. The time now is 08:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.