From: Michael R. <mi...@ru...> - 2002-07-29 13:16:54
|
> 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/N ameService"); > > String[] val = {"ORBInitRef > NameService=corbaloc::1.2@10.12.10.24:9999/NameService"}; This is the same as specifying: java ClientApp -ORBInitRef NameService=corbaloc::1.2@10.12.10.24:9999/NameService I assume you just forgot to specify the dash "-" in front of ORBInitRef... Michael > ORB orb = (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=31 > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users |