From: Damian O'N. <dam...@ae...> - 2002-07-29 15:06:37
|
Thanks Thomas, that worked fine. D On Mon, 2002-07-29 at 14:10, Haug Thomas wrote: > Hi Damian, >=20 > your property name is wrong: > if you want to set the NameService using a properties file you have to us= e > prop.setProperty("InitRef.NameService","corbaloc::localhost:2004/NameServ= ice > "); >=20 > Cheers, > Thomas >=20 > -----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 >=20 > 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 >=20 > Are you aware of any problems with this? >=20 > Am I specifying the Strings correctly? >=20 > As you can see below I have tried to set it using both string[] and > properties. >=20 > Thanks in advance, > Damian. >=20 >=20 >=20 >=20 > Properties props =3D new Properties(); > props.setProperty("ORBInitRef","NameService=3Dcorbaloc::1.2@10.12.10.24:9= 999/N > ameService"); > =09 > String[] val =3D {"ORBInitRef > NameService=3Dcorbaloc::1.2@10.12.10.24:9999/NameService"}; >=20 > ORB orb =3D (ORB) ORB.init(val, props); >=20 >=20 >=20 > ------------------------------------------------------- > 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 |