[omniORB] unbind after orb->run fails
Olaf Meding
olaf@tomotherapy.com
Wed, 25 Apr 2001 14:40:29 -0500
Stefan,
> ... you try to unbind *after* orb->run(), i.e. when the ORB isn't active
any more ...
I can see where you are coming from. But how do I ever unbind() from my
name service? Hmm, maybe re-initialize my ORB?
BTW, the code below works with ORBacus (somehow).
Olaf
-----Original Message-----
From: owner-omniorb-list@uk.research.att.com
[mailto:owner-omniorb-list@uk.research.att.com]On Behalf Of Stefan
Seefeld
Sent: Wednesday, April 25, 2001 2:22 PM
To: omniORB Mailing List
Subject: Re: [omniORB] unbind after orb->run fails
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