Re: ORBit2 Segfault - was Re: [PATCH] bad ...



Mark McLoughlin wrote:
> 
> 	Yes, you can't use PortableServer::POA::activate_object_with_id with
> the RootPOA because the the RootPOA has the SYSTEM_ID policy which means
> the POA *must* generate the Object Ids. See 11.3.7.4 (Id Assignment
> Policy) and 11.3.8.16 (activate_object_with_id).
> 
> 	So, really you should be using plain old POA::activate(). However,
> because the RootPOA has the IMPLICIT_ACTIVATION policy you don't
> actually need to explicitly activate the servant. The POA:activate* line
> can just be removed.
> 
> Good Luck,
> Mark.


So in the end code written for ORBit (0.5.17) is not portable to ORBit2 
(2.4.1)?

The test program was written and tested using ORBit.  Then I attempted 
to run it with ORBit2 by just recompiling (with new skeletons) and, 
while it did compile and link, it produced a crash and burn version.

-- 
Greg Edwards
New Age Software, Inc. - http://www.nas-inet.com
======================================================
Galactic Outlaw        - http://goutlaw.nas-inet.com
   The ultimate cyberspace adventure!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]