Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > jacorb client c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 444 of 534
Post > Topic >>

jacorb client cannot resolve naming contexts

by "ap" <corsica@[EMAIL PROTECTED] > Jul 28, 2006 at 02:11 PM

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??




 1 Posts in Topic:
jacorb client cannot resolve naming contexts
"ap" <corsic  2006-07-28 14:11:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 17:11:07 CDT 2008.