From: Haug T. <tho...@si...> - 2002-07-29 13:10:58
|
Hi Damian, your property name is wrong: if you want to set the NameService using a properties file you have to = use prop.setProperty("InitRef.NameService","corbaloc::localhost:2004/NameSer= vice "); Cheers, Thomas -----Urspr=FCngliche Nachricht----- Von: Damian O'Neill [mailto:dam...@ae...] Gesendet am: Montag, 29. Juli 2002 14:45 An: ope...@li... Betreff: [openorb-users] orb init parameters 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. =20 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 =3D new Properties(); props.setProperty("ORBInitRef","NameService=3Dcorbaloc::1.2@10.12.10.24:= 9999/N ameService"); =09 String[] val =3D {"ORBInitRef NameService=3Dcorbaloc::1.2@10.12.10.24:9999/NameService"}; ORB orb =3D (ORB) ORB.init(val, props); ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=3D31 _______________________________________________ openorb-users mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openorb-users |