help with CosNaming

Chandrashekhar Mullaparthi <>
Tue Nov 13 14:32:25 CET 2001

I'm experimenting with Orber/CORBA and need some help with the NameService.

I've compiled the example and run it successfully. Now I'm trying to run the
stack_client from another erlang node. This is where the problems begin.

1> NS = corba:resolve_initial_references_remote("NameService",

works fine, though from a Windows client this call crashes the very first
time and then works fine after that.

2> 'CosNaming_NamingContext':list(NS, 10).
{ok, [], BindingIterator}.

But if I execute the same command on the node where the orb is running, I
                          nobject}], BindingIterator}.

The documentation for CosNaming_NamingContext:bind/3 says:

"Creates a binding of a name and an object in the naming context. Naming
contexts that are bound using bind() do not participate in name resolution."

I don't understand this. How does one bind a name to an object which can be
resolved? Can someone please give me a version of the stack example which
will work across nodes??


This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

More information about the erlang-questions mailing list