Re: NamingService
- From: trohed <trohed yahoo com>
- To: orbit-list gnome org
- Subject: Re: NamingService
- Date: Mon, 30 Oct 2000 19:33:01 -0800 (PST)
First, you need to start the Naming Service.
orbit-name-server > Name.ior &
this starts the naming service, sending the standard
output to the file named Name.ior, and runs it in the
background. The reason I send stdout to Name.ior is
because you need the ior in order to use the
NamingService. You probably need to run your program
like this:
./example_program -ORBNamingIOR=THE_IOR_FROM_Name.ior
Hope this helps.
--- Rene Maldonado <renfin telnor net> wrote:
> Hi all,
>
> I'm experimenting with CosNaming:
>
> I found two examples, in both is the declaration
>
> CosNaming_NamingContext root_name;
>
> but the diference is when they do the next thing:
>
> a) root_name = CORBA_ORB_resolve_initial_service
> (orb,"NameService", ev);
>
> b) root_name =
>
CORBA_ORB_resolve_initial_references(orb,"NameService",
> ev);
>
> in a) the compiler have an error Undefined reference
> to CORBA_ORB_resolve...
>
> in b) No problem, but when I execute the
> example-serverer the nex error occur:
>
> Segmentation fault (core dumped)
>
> Does any une knou of an example that works, or where
> can I find information on naming
> Services..
>
> Thanks
> > begin:vcard
> n:Maldonado;Rene
> tel;cell:044 67 04 1776
> tel;home:681-21-24
> tel;work:638-46-93
> x-mozilla-html:FALSE
> org:Telefonos del Noroeste;Sistemas
> adr:;;;Tijuana;Baja California;22000;Mexico
> version:2.1
> email;internet:remal telnor com
> title:Ing. Computacion
> fn:Rene Maldonado
> end:vcard
>
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]