From: Damian O'N. <dam...@ae...> - 2002-07-29 12:44:59
|
I am using openorb-1.3.0, I am trying to set the ORBInitRef property for the name service. If I update the OpenORB.xml with the location of the name service this works fine. However if I try to set it using ORB.init, it seems to be ignored. Are you aware of any problems with this? Am I specifying the Strings correctly? As you can see below I have tried to set it using both string[] and properties. Thanks in advance, Damian. Properties props = new Properties(); props.setProperty("ORBInitRef","NameService=corbaloc::1.2@10.12.10.24:9999/NameService"); String[] val = {"ORBInitRef NameService=corbaloc::1.2@10.12.10.24:9999/NameService"}; ORB orb = (ORB) ORB.init(val, props); |