[omniORB] activate_object_with_id Returns None

Wernke Zur Borg wernke.zur.borg at vega.de
Thu Apr 24 09:22:01 BST 2008


Hi Marco,

First make sure you use a POA with IdAssignmentPolicy = USER_ID. With
omniORB you can use the predefined "omniINSPOA" for that.

Secondly, the return type of activate_object_with_id() is void, so you
can't get anything out of it anyway.

Cheers, Wernke

> 
> use the POA's id_to_reference() method to get a reference to the newly
> activated CORBA object if you need it.  Otherwise just try to 
> contact the
> object using the corbaloc URI.  Make sure the poa_manager is 
> activated.
> 
> 
> ---
> Kendall Bailey
> Engineering & Research
> 
> 
> 
> omniorb-list-bounces at omniorb-support.com wrote on 04/23/2008 
> 11:38:23 AM:
> 
> > Hey all.
> >
> > I'm trying to have my corba server objects to be accessible with
> > something like:
> > corbaloc::host/object
> >
> > After reading and googling (allot) I can't make this work. 
> The problem
> > is, when I try to activate_object_with_id, this function 
> doesn't return
> > me any usable value, just None (using python)
> >
> > Any help would be greatly appreciated. Thanks
> >



More information about the omniORB-list mailing list