corba client using erlang

Chandru chandrashekhar.mullaparthi@REDACTED
Thu Apr 20 19:21:26 CEST 2006


On 20/04/06, Igor Goryachev <igor@REDACTED> wrote:
>
> Hello.
>
> I am erlang newbie and trying to write corba client using orber
> interface for using in the omniORB environment. I have already read
> orber users guide, but it did not help me match. Something still
> goes wrong.
>
> The steps I perform:
>
> % erl -mnesia dir '"mnesia.orberdb"'
>
> goryachev@REDACTED:~/corba/idl% erl -mnesia dir '"mnesia.orberdb"'
> Erlang (BEAM) emulator version 5.4.13 [source] [hipe] [threads:0]
> [kernel-poll]
>
> Eshell V5.4.13  (abort with ^G)
> 1> mnesia:create_schema([node()]).
> ok
> 2> mnesia:start().
> ok
> 3> corba:orb_init([{domain,
> "MyDiscSingleNodeORB"},{orbInitRef,"NameService=corbaloc:iiop:
> 192.168.2.10:2809/NameService"},{interceptors,
> {native,[orber_iiop_tracer_stealth]}},{orber_debug_level, 10}]).
> ok
> 4>
> orber:install([node()],[{ifr_storage_type,disc_copies},{nameservice_storage_type,
> disc_copies}]).
> ok
> 5> orber:start().
> ok
>


You don't seem to have run the oe_register function to register your
interfaces. See #2 in
http://www.erlang.org/ml-archive/erlang-questions/200603/msg00049.html

hth
Chandru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060420/320cce23/attachment.htm>


More information about the erlang-questions mailing list