[omniORB] two clients in one PC
Wernke zur Borg
wernke.zur.borg at vega.de
Wed Jan 17 08:52:16 GMT 2007
//------------------------------------------------------------------------
// The "name text" put forth by CORBA server in name service.
// This same name ("DataServiceName1") is used by the CORBA server when
// binding to the name server (CosNaming::Name).
//------------------------------------------------------------------------
m_corbaCosName.length(1);
m_corbaCosName[0].id="DataServiceName1"
What I mean when saying that each client binds with a diffierent name is that each one is registered in omninames with differene name, although the application is the same.
The code above is not the one used, but with a dynaimc variable instead "DataServiceName1"
I'm not totally sure if the problem is related with the way I configure CORBA or with the code of the clients because I don't know very deeply how CORBA works. I'll try figure out where exactly the problem is, so I can ask something less general.
Thanks
Hi
either you or I have a misunderstanding here... clients normally do not bind to or register with the naming service (except they offer an interface themselves) but they usually only resolve names, which is a transient process. I understand your scenario as having one server and multiple clients, so only the server creates object bindings in the naming service, and each of the clients resolves the names.
I am afraid we have to get the nomenclature precise before we can proceed helping you with your problem.
Wernke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070117/984813a4/attachment-0001.htm
More information about the omniORB-list
mailing list