[omniORB] ORB::shutdown(false) never ends...
Thomas Zumbiehl
zumbiehl at bvassociates.fr
Tue Jun 15 15:56:19 BST 2004
Hi guys,
I have a server compiled with g++ 3.3.2 on a Linux box, it uses
omniORB-4.0.3.
My server works fine, until I try to shut it down.
When I call the shutdown() method on the ORB with wait_for_completion =
false, it seems to go OK, but the shutdown
thread never ends, and the ORB::run() method is never released.
With the -ORBtraceLevel 40, I get the following output:
omniORB: State root<0> (activating) -> active
omniORB: Creating ref to local: root<0>
target id : IDL:corbacom/AgentInterface:1.0
most derived id: IDL:corbacom/AgentInterface:1.0
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: giopRendezvouser task execute for giop:tcp:192.0.0.36:44000
<<< calling the shutdown method here !! >>>
omniORB: Preparing to shutdown ORB.
omniORB: Starting an ORB shutdown thread.
omniORB: ORB shutdown thread started.
omniORB: Destroying POA(RootPOA).
omniORB: Deactivating all POA(RootPOA)'s objects.
omniORB: State root<0> (active) -> deactivating (OA destruction)
omniORB: Waiting for requests to complete on POA(RootPOA).
omniORB: Requests on POA(RootPOA) completed.
omniORB: State root<0> (deactivating OA) -> etherealising
omniORB: Etherealising POA(RootPOA)'s objects.
omniORB: Removing root<0> (etherealising) from object table
omniORB: RefCountServantBase has zero ref count -- deleted.
omniORB: Stopping serving incoming endpoints.
omniORB: giopServer waits for completion of rendezvousers and workers
<<< 2 or 3 secs later ! >>>
omniORB: AsyncInvoker: thread id = 1 has exited. Total threads = 1
<<< And nothing more !!! >>>
If I try to shutdown again, the output says that the ORB is already shuting
down. I does nothing else.
I have to kill my process.
If I call the OBR::shutdown() with wait_for_completion = true, the shutdown
procedure goes fine, and my process stops.
Any clue for this ??
Cheers.
Thomas
------------------------------------------------
Thomas Zumbiehl
Chef de Projet Développement
BV Associates
http://www.bvassociates.fr <http://www.bvassociates.fr/>
More information about the omniORB-list
mailing list