[omniORB] two clients in one PC
Wernke zur Borg
wernke.zur.borg at vega.de
Wed Jan 17 09:49:42 GMT 2007
I'm sorry.
I didn't realize I forgot to clarify this point. The server offers services to the clients, but the clients mus offer some services in return, and of course, all of them the same services. Is somethign like this:
One client must stop working so, before that, sends a request to the server, and the server ask to the others clients on the net to do the tasks of the one that is leaving.
OK, this sounds better, in the sense of CORBA you have multiple redundant servers offering the same interface. This should work as long as each of them binds their objects with unique names, but you wrote earlier that this is the case.
A possible reason for a crash would be that a client uses an object reference that is no longer valid, because the server has gone down.
Are you sure that you (a) always unbind a server's objects before it goes down, and (b) always catch exceptions thrown by server calls? If you do the latter, you would get aware about an IOR that is no longer valid, and you could then try to re-resolve it at the naming service. Failure to do so would indicate a server that has gone down.
So, in principle your scenario is feasible, but as you wrote, it is hard to find the reason for crashes without more detailed information. You should enable the omniORB trace and try to understand what happens in detail.
Regards, Wernke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070117/cc837b7a/attachment.htm
More information about the omniORB-list
mailing list