[omniORB] Problem if any IDL call raise an unexpected Excepti on

Duncan Grisby duncan at grisby.org
Mon Jun 9 15:10:02 BST 2003


On Friday 6 June, Malge Nishant wrote:

> 	if I delete the servant before is has finished the call I get an
> error -- Servant has been deleted which is still active.

Yes. It is an error to delete a servant when it is activated in the
POA. You should expect things to go wrong if you do that.

> And when later when the call exits due to err, most of the times my
> application crash with an assertion in omniServant (pd_activations=0).
> But Some times I don't get this assertion and my application doesn't crash
> too. And then start the problem... and the calls start blocking in
> handle_request.. 

Basically, you are breaking the rules and deleting things while they
are still in use. The results of that are of course unpredictable.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list