V S P
2009-04-23 14:52:46 UTC
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
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
***@fastmail.fm
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are
V S P
***@fastmail.fm
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are