[omniORB] OBJECT_NOT_EXIST

Duncan Grisby dgrisby@uk.research.att.com
Wed, 17 Nov 1999 17:29:30 +0000


On Wednesday 17 November, Rob Cecil wrote:

> I am trying to implement a Pingable interface detailed in "Advanced
> Corba Programming with C++" pps. 255-256, but when the ping cannot
> reach the server, CORBA::Exception is thrown, not
> CORBA::OBJECT_NOT_EXIST from omniORB2 2.8.

I think you'll find that the exception you are getting is
CORBA::COMM_FAILURE, because the client is unable to contact the
server. You'll only see an OBJECT_NOT_EXIST if the server process for
the object is alive, but the object itself isn't.

HTH,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --