|
|
|
|||||
|
i meet a problem which has been met by another person .
as that: [ D:\OpenSource\Ice-1.5.1\demo\Ice\myfreeze\Debug\myfreeze.exe: Berkeley DB: DbE nv "db": db: No such file or directory ] [ D:\OpenSource\Ice-1.5.1\demo\Ice\myfreeze\Debug\myfreeze.exe: Berkeley DB: DbE nv "db": db\log.0000000001: No such file or directory ] [ D:\OpenSource\Ice-1.5.1\demo\Ice\myfreeze\Debug\myfreeze.exe: Berkeley DB: DbE This is the answer by Bernard : By default, Freeze uses the environment name as the the Berkeley DB home directory (here db). You can change this using Freeze.DbEnv.env-name.DbHome. This directory must exist before you run your application. Cheers, Bernard now !!!! "D:\Ice-2.0.0-ThirdParty" is the path of which the Ice-2.0.0-ThirdParty installed . i set "Freeze.DbEnv.env-name.DbHome" to "D:\\Ice-2.0.0-ThirdParty", and change the "db" into "bin". but the problem still exists. how to do is correct? Ice::PropertiesPtr props = Ice::getDefaultProperties(argc,argv); props->setProperty("Freeze.DbEnv.env-name.DbHome", "D:\\Ice-2.0.0-ThirdParty"); Ice::CommunicatorPtr communicator = Ice::initialize(argc,argv); Freeze::ConnectionPtr connection = Freeze::createConnection(communicator,"bin"); Last edited by fw_csha : 02-24-2005 at 10:37 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Freeze problem | ruzark | Help Center | 2 | 11-15-2004 09:02 PM |
| Freeze problem | freshman | Help Center | 1 | 08-18-2004 08:36 AM |
| Freeze problem | xdm | Help Center | 1 | 12-15-2003 01:44 PM |
| reference count problem | wanming | Help Center | 2 | 09-16-2003 11:40 PM |
| basic freeze problem | salva | Help Center | 1 | 06-30-2003 07:14 PM |