[omniORB] bind failure...

Mohan rmohan@ice-com.com
Fri Aug 2 14:34:03 2002


Hi Bjon,
Thanks for the reply. I am trying to make contact to the remote hostmachine
which is connected through VPN using nameservice. I added added ORBInitRef
(passed the IPAddress of that remote machine) in the config file and
executed omniNames on that machine. It is getting failed while obtaining the
root context(resolve_initial_names(NameService) is successful).
obj = resolve_initial_references("NameService");
This statement where it is getting failed is
CosNaming::NamingContext::_narrow(obj);

Why is it failed?
Ram


----- Original Message -----
From: "bjorn rohde jensen" <bjensen@fastmail.fm>
To: "Mohan" <rmohan@ice-com.com>
Cc: <omniorb-list@realvnc.com>
Sent: Friday, August 02, 2002 6:25 PM
Subject: Re: [omniORB] bind failure...


> Hi Ram,
>
>  You are probably getting a NO_RESOURCES exception
> or something. I believe, the format should be something
> like: ORBInitRef NameService=corbaloc:iiop:hostname.test.com:2809
>
> Yours sincerely,
>
> Bjorn
>
> Ps: you should be able to use other keys than NameService
>