简体   繁体   中英

Is there a way for CORBA client to access to server IOR file?

I have a cobra server running on machine A. It writes the stringified object to /tmp/Data.ref. I have client running on machine B. The client needs to access the /tmp/Data.ref file. Currently I have to ftp the Data.ref file from machine A to machine B and put it in /tmp myself. The server does NOT use naming service. The machines are not NFS mounted so I can't put the file where both machines can use it. I don't like to write a script to automatic ftp the file for other reason.

I like to know if there is a way to tell the client where to read the Data.ref on the server machine A ?

Other info: I am using Orbacus, C++, linux. I am hoping may be there is a command line option or someway to specify the complete host,file path name if it is possible.

Use the naming service. That's what it is for, to solve this bootstrap problem. Otherwise, you're asking how to get an IOR so you can contact the server to get its IOR. The question doesn't make sense. Use COSNaming. Designed about 25 years ago. Job done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM