Name server simple corbaloc



Hi,

I'm testing the orbit-name-server-2 and I would like to specify the location
of the server in a way that let me use a simple static corbaloc as a
parameter (ORBNamingIOR) to the clients. I can tell the ORB to use a host
and a port using a command like:

./orbit-name-server-2 -ORBIIOPIPName=localhost -ORBIIOPIPSock=4444 -ORBCorbaloc=1 -ORBIIOPIPv4=1
corbaloc:iiop:1 2 localhost:4444/%01%00%00%00%de%f1%d2%d4%d9%d2%d0%e8%cb%b1%e7%e+8%46%a9%4a%33%4e%61%6d%65%53%65%72%76%69%63%65

The problem is that the objectkey is system generated so it changes every
time a start the server and even though I can specify the objectid, using
USER_ID policy, the rest of the objectkey is generated. Is there a way to
create that simple corbaloc? Or maybe another system to point out the name
server to the clients. When I say a simple corbaloc a mean something like:

 corbaloc:iiop:1 2 localhost:4444/NameService
	
Thanks in advance.

-- 

Alejandro García Castro
mailto: acastro igalia com
IGALIA S.L. http://www.igalia.com
Telf. +34 981 91 39 91
Fax. +34 981 91 39 49


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