[omniORB] Persistent Reference not working...

bjorn rohde jensen bjensen@fastmail.fm
Thu Oct 17 15:07:00 2002


Hi Diego,

  Maybe this is because, the client does not notice
the disorderly shutdown of the server before, it
tries to invoke methods on objects on the server?
OmniORB tries to establish the existence of the
remote object during creation of the client side
proxy object, and holds the TCP connection open
for the life-time of the proxy, i think. After the
initial creation and checks, i think, omniORB only
checks for errors, when trying to invoke methods,
because doing anything else would be pretty costly
and probably also needless from time to time.
  Maybe you need to catch the exception and try to
initialise the object reference again? That works
nicely for me.

Yours sincerely,

Bjorn