[omniORB] [Q] how to properly shutdown

V S P toreason at fastmail.fm
Thu Apr 23 05:52:44 BST 2009


hi,

I am calling

orb->shutdown(true)
from within a servant method.



The servant method is called by my 'utility client'
that is responsible for shutting things down

I see during debugging (Omni 4.1.3 win32)
that

the utility client invokes 
shutdown_all (my method name) 
the server goes into that method
then invokes orb->shutdown()

Then I see client gettin exception
Caught a CORBA::SystemException:

 BAD_INV_ORDER_WouldDeadLock"    

And I see that it is the server that has thrown it 
(because I saw the same thing on the server console window)

I am assuming that it is because I cannot call orb->shutdown
from within the an object method ?

And the the question is, what is the recommended way of shutting things
down by a remote command?


thank you in advance



-- 
  V S P
  toreason at fastmail.fm

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are




More information about the omniORB-list mailing list