Archived
This forum has been archived. Please start a new discussion on GitHub.
IceBox.DBEnvName.name

xdm
La Coruña, Spain
in Help Center
Hellow
I create an IceBoxService an I set in config file the property
IceBox.DBEnvName.name=TiendaDb
how can i acces to it when create the evictor?
TiendaRezI::_evictor = Freeze::createEvictor(communicator,???,"tiendaDb");
thanks
I create an IceBoxService an I set in config file the property
IceBox.DBEnvName.name=TiendaDb
how can i acces to it when create the evictor?
TiendaRezI::_evictor = Freeze::createEvictor(communicator,???,"tiendaDb");
thanks
0
Comments
-
Have a look at the Properties chapter in the book. It shows how to look up property values.
Cheers,
Michi.0 -
thanks you michi I forget to put the name of my service and only put name
sorry
And other Question relative to this
I confused about poitn 24.4.4
Freeze Service the signature of start method is not the same that signature In
Ice-1.2.0/slice/IceBox/IceBox.ice
In the book I read:
void start(string name,Ice::communicator communicator,Ice::StringSeq args,FreezeDBEnvironment dbEnv)
in slice i read:
void start(string name, Ice::Communicator communicator, Ice::StringSeq args, string envName);
why this diference?
And thakns for your help0 -
It's just a mistake in the book. The API changed in 1.2. It will be fixed in the new book revision.
Cheers,
Bernard0