Hello,
Thanks for the reply. I am a bit lost however as to how to setup the properties from the configuration file manually.
I altered my Ice.Communicator.stringToProxy calls by simply hard-coding the appropriate information, such as:
Code:
base = NVACMain.getIC().stringToProxy("IceStorm/TopicManager:tcp -p port -h localhost");
The only problem I have remaining is the IceGrid Locator service. I am unsure of how to load this manually. I used to load it in the config file, but I can't anymore. I've tried passing it to Ice.Communicator.initialize, as if I were specifying it from the command line, but that has not worked either.
I've tried using three different arguments, none of which have worked correctly:
Code:
String[] argv = {"Ice.Default.Locator=IceGrid/Locator:default -h localhost -p port",
"IceGrid/Locator:default -h localhost -p port",
"--IceGrid/Locator:default -h localhost -p port"};
try {
ic = Ice.Util.initialize(argv);
} catch (Exception e) {
e.printStackTrace();
}
Obviously, this either cannot be done, or the syntax is wrong (I guessed on the syntax, as I couldn't find anything about doing this in the documentation).
I am positive the problem lies in the IceGrid Locator, as I was not registering any events from IceStorm without loading the config file, even if I specified the appropriate proxies and topicnames.
Is there a way to do what I am trying to do? Can I manually specify the IceGrid Locator information? Is there another way I can go about doing this?
Thanks,
Dan