[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mico-devel
Subject:    MICO: [MICO] poa example : account-3  - InvalidPolicy Exception
From:       "David Olivari" <olivari () after-development ! fr>
Date:       2000-04-20 12:39:10
[Download RAW message or body]

I'm using NT4SP6, VC6SP3 and MICO 2.3.1

I'm trying to run the 'demo/poa/account-3' example and it doesn't work...
I put some exception catchers and I catch a CORBA::UserException with
repoid() :

IDL:omg.org/PortableServer/POA/InvalidPolicy:1.0

The code is :
CORBA::PolicyList pl;
pl.length(2);
pl[0] = poa->create_request_processing_policy
(PortableServer::USE_SERVANT_MANAGER);
pl[1] = poa->create_lifespan_policy (PortableServer::PERSISTENT);
PortableServer::POA_var accpoa = poa->create_POA ("Accounts",
PortableServer::POAManager::_nil(), pl);
PortableServer::POAManager_var accmgr = accpoa->the_POAManager();
<---------------- Exception thrown

Thanx for your help

David Olivari
olivari@after-development.fr

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic