Archived
This forum has been archived. Please start a new discussion on GitHub.
Glacier2 Config in code
I try to run without config files but have a trouble now.
Ice.Default.Router=DemoGlacier2/router:ssl -p 4064 -h 192.168.0.75
How to translate this ? iuse C plusplus.
I try to use this,but not work.
Ice.Default.Router=DemoGlacier2/router:ssl -p 4064 -h 192.168.0.75
How to translate this ? iuse C plusplus.
I try to use this,but not work.
Ice::InitializationData initData; initData.properties = Ice::createProperties(); initData.properties->setProperty( "Ice.Default.Router","ssl -p 4064 -h 192.168.0.75");
0
Comments
-
Hi,
You need to use the same property value as in the configuration file:Ice::InitializationData initData; initData.properties = Ice::createProperties(); initData.properties->setProperty("Ice.Default.Router","DemoGlacier2/router:ssl -p 4064 -h 192.168.0.75");
Cheres,
Benoit.0