hi all,
i have a servant that is activated in a default policies poa.
when a the client invokes the destroy() request of that servant's reference, there is an amazing bug -
a ServantNotActive exception is thrown.
how can a servant be inactive if he just got a request from a client?
the code for deactivation is as follows:
(of course the poa is the same one used to activate and create the reference)
any clue?
Thanx,
oren.
i have a servant that is activated in a default policies poa.
when a the client invokes the destroy() request of that servant's reference, there is an amazing bug -
a ServantNotActive exception is thrown.
how can a servant be inactive if he just got a request from a client?
the code for deactivation is as follows:
Code:
PortableServer::ObjectId_var oid = m_poa->servant_to_id(this);//the exception is thrown here
m_poa->deactivate_object(oid);
any clue?
Thanx,
oren.