[omniORB] A question on NameService.

Malge Nishant MNishant@quark.co.in
Fri Jul 26 07:29:00 2002


ideally if you are using Naming Service then its not mandatory to know
whereabouts of ur server. Yeah all you should know about is the Naming
Service. 

it works perfectly file with me on same machine as well as on different
machine. I have passed naming service details to both the server & client.

-ORBInitRef NameService=corbaname::<host>:<port>

You can put some config params for each of your server & clients.

nishant

-----Original Message-----
From: Mohan [mailto:rmohan@ice-com.com]
Sent: Thursday, July 25, 2002 5:17 PM
To: Mohan; omniorb-list@realvnc.com
Subject: [omniORB] A question on NameService.


> Hi,
>
> I am able to write a client/server programs communicate thru name service,
I
> followed the example eg3_clt, eg3_impl for it to work.
> The problem I am facing is while I run client & server in 2 different
> machines on the network my client program is not able to resolve the
initial
> reference unless I pass -ORBInitialhost=<hostname> -ORBInitialPort=12345
in
> the command line. . But if I run the client program on the same machine
> where I run server, I dont need these info, it works fine without any
> command line arguments.
> This kind of procedure will not work for my project. I should be able to
run
> the client program with no command line arguments and no configurations in
> the target machine where the client program will be running. I should be
> able to specify all of the required nameservice configurations on one
single
> machine (may be on the server) and should be able to run the client
program
> in different machines on the network. Can this be achieved? Please help. I
> need this information very URGENTLY.
>
> Thanks
> Ram
>

_______________________________________________
omniORB-list mailing list
omniORB-list@realvnc.com
http://www.realvnc.com/mailman/listinfo/omniorb-list