[omniORB] how to catch COMM_FAILURE exception

Duncan Grisby duncan at grisby.org
Wed Feb 7 11:02:16 GMT 2007


On Tuesday 6 February, "=?ISO-8859-1?Q?Aida_F=E1tima_Cano?=" wrote:

> I have the following code: A Client sends a request to a server (Method_1);
> then, this server, workins as a client, makes a request to another Server.
> 
> Why the application, in debug mode, doesn't reach the catch statments If,
> while waiting method_2 to return, TCP communications fail?

Your code should correctly catch the exception. What happens instead?
What platform and compiler are you using?  Do the omniORB echo examples
work?  What does eg2_clt do if you try to run it with the IOR for a
server that you have stopped?  It should report a TRANSIENT exception.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list