[omniORB] ServantActivator problems

Duncan Grisby dgrisby@uk.research.att.com
Mon, 31 Jul 2000 12:31:13 +0100


On Monday 31 July, Stefan Seefeld wrote:

> I'm trying to run the following code but I get a runtime error 
> and a CORBA::Exception in the call to poa->set_servant_manager.
> What am I doing wrong ?

You're trying to set a servant manager in the root POA, which doesn't
have the USE_SERVANT_MANAGER policy, so it's throwing WrongPolicy. You
have to create a POA with the correct policies.

Cheers,

Duncan.

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