[omniORB] Segfaults and Examples

Chris McClimans omniorb@mcclimans.net
Thu, 18 Oct 2001 10:53:27 -0500


orb = CORBA.ORB_init()
rootPOA = orb.resolve_initial_references("RootPOA")
myPolicies = rootPOA.create_lifespan_policy(PortableServer.PERSISTENT)
myPOA = rootPOA.create_POA("myPOA",rootPOA._get_the_POAManager(),myPolicies)

I'm running this directly in the interpreter (trying to duplicate some
java code that implements a PushConsumer event eater. But I'm stuck here.
I'm reading through the OMG docs on mappings and the omniORB users manual.
Any pointers to POA / Event Channel docs would be helpful.
-chris