System.out.println("Bind the Object Reference in Naming..."); ncRef.rebind(nc, href);
The error i got during execution is:
ERROR: IDL mg.org/CosNaming/NamingContext/NotFound:1.0 org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0 at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72) at org.omg.CosNaming._NamingContextStub.rebind(_NamingContextStub.java:159) at com.qwest.ums.umsim.UmsSimulatorServer.main(Unknown Source)
I have done this stuff, but I am a bit rusty. I can offer a guess at the problem, but no guarantees.
My hunch is that the Name you are binding to has multiple NameComponents and some of those do not exist. You have to create all the intermediate NamingContexts explicitly; they do not get created automatically.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.