Re: Orbit Naming Service using -ORBInitRef




The "-ORBInitRef" is for telling a program "where" to locate a
"NameService".
When starting the name service... you need to specify the IP addr and Port.
It should
accept a standard "corbaloc:" format.

I'm not sure if there is a standard way to do this but "MICO" uses
   "nsd  -ORBIIOPAddr inet:192.168.4.10:3333" to specify the specific Addr
and Port to start
it's name service daemon on "nsd".    I don't know what the ORBit command
line option would be.
Maybe it's on the ORBit FAQ page...

You should look at the ORBit FAQ at:
http://orbit-resource.sourceforge.net/faq.html
It talks about most of the command line options.

Also, Jon Siegel's "CORBA 3" book explains the "corbaloc:" format and I'm
sure that it is
explained in the OMG specifications.

The following is an example .orbitrc:

ORBIIOPUSock=1
ORBIIOPPIPv4=1
ORBIIOPIPv6=0

________


Cheers,

-Dave



> Hi All,
>  By using the following steps I can able to RUN the
> Naming Service sample on the same machine
> orbit-name-server >/tmp/ior &
> yourserver -ORBNamingIOR=`cat /tmp/ior` &
> yourclient -ORBNamingIOR=`cat /tmp/ior`
>
> But if suppose I want to RUN the Client on other
> machine. That Naming Service & Server on the same
> machine using above command. And Client on other
> machine, then how can I able to RUN the Client. For
> that I required the file from the remote machine. Is
> it possible to RUN it using "http://localhost/ior
> file", using "-ORBInitRef".

> Help me regarding this.
> Thanks & Regards,
> Prashant






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]