Hello,
I'm trying to get my java client talking to a jacorb server.
I have compiled the client w/ jacorb.
Now, it fails in resolving the naming context with a Cannot Proceed
exception.
The same code fragment appears to run fine under visibroker.
Any clues here would be very appreciated!!
rootContext =
NamingContextHelper.narrow(orb.resolve_initial_references("NameService"));
NameComponent[] ncName = new NameComponent[4];
ncName[0] = new NameComponent();
ncName[0].id = "A";
ncName[0].kind = "akind";
ncName[1] = new NameComponent();
ncName[1].id = "B";
ncName[1].kind = "bkind";
ncName[2] = new NameComponent();
ncName[2].id = "C";
ncName[2].kind = "EInstance";
ncName[3] = new NameComponent();
ncName[3].id = "12.0";
ncName[3].kind = "Version";
log.info("About to get the child root context ....");
myFactory = myFactory_IHelper.narrow(rootContext.resolve(ncName ));
This last line is failing. What could be wrong??