[omniORB] Asymmetrical Comm_failure

JHJE (Jan Holst Jensen) jhje at novonordisk.com
Wed Feb 21 21:46:39 GMT 2007


> But then, what happens if after execute ORB_init() something 
> in the code below throws an exception? Is there someway to 
> stop omniORB, or it stops automatically?

omniORB never stops once started, unless you explicitly call orb->shutdown().

> In my case, if I execute the thread without network 
> connection, the following sentence goes into the catch statment 
[...]
>     CosNaming::NamingContext_var nc = 
> CosNaming::NamingContext::_narrow(obj.in());

And after that, processing continues. The orb continues to run using its own worker threads, listening for requests, sending requests, receiving results and so on.

Cheers
-- Jan



More information about the omniORB-list mailing list