[omniORB] A question on NameService.

Mohan rmohan@ice-com.com
Thu Jul 25 12:42:01 2002


> 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
>