"no poa found"



Hi,

Anyone know what might cause this:
  ORBit-WARNING **: No POA found for operation drop_all_caches [-1073745376]

This is ORBit 0.5.7.

Relevant code that I think should result in the POA being found:

      CORBA_Environment ev;
      PortableServer_ObjectId* objid;
      PortableServer_POA poa;

      CORBA_exception_init(&ev);
      POA_ConfigListener__init(&poa_listener_servant, &ev);
      
      g_assert (ev._major == CORBA_NO_EXCEPTION);

      poa =
      (PortableServer_POA)CORBA_ORB_resolve_initial_references(gconf_orb_get(),
      "RootPOA", &ev);

      g_assert (ev._major == CORBA_NO_EXCEPTION);

      PortableServer_POAManager_activate(PortableServer_POA__get_the_POAManager(poa,
      &ev), &ev);

      g_assert (ev._major == CORBA_NO_EXCEPTION);

      objid = PortableServer_POA_activate_object(poa,
      &poa_listener_servant, &ev);

      g_assert (ev._major == CORBA_NO_EXCEPTION);
      
      listener = PortableServer_POA_servant_to_reference(poa,
                                                         &poa_listener_servant,
                                                         &ev);

      g_assert (listener != CORBA_OBJECT_NIL);
      g_assert (ev._major == CORBA_NO_EXCEPTION);

Havoc




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