[omniORB] unbind after orb->run fails

Stefan Seefeld seefeld@sympatico.ca
Wed, 25 Apr 2001 15:22:27 -0400


Olaf Meding wrote:

> Why do I get a COMM_FAILURE exception when calling unbind() on my CORBA
> server?
> 
> Here is my calling sequence:
>   initializing ORB
>   bind with the name service
>   create servant
>   orb->run()
>   unbind name from name service   // COMM_FAILURE here

the above sequence suggests that you try to unbind *after* orb->run(), 
i.e. when the
ORB isn't active any more. That of course won't work, as the 
communication to the
naming server is itself CORBA based.

Regards,    Stefan