You must define the ORBInitRef, but it is not the simplest way. You can define it so:
Properties props = new Properties();
props.setProperty("ORBInitRef","NameService=corbaname::<hostName>:<Naming Service Port>/");
orb = ORB.init(args, props);
obj =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.