[omniORB] Exception not catched

Duncan Grisby dgrisby@uk.research.att.com
Wed, 11 Jul 2001 11:33:00 +0100


On Monday 9 July, Attila Pletyak wrote:

>    On every object creation we check whether or not we have an object 
> registered on the nameserver with the same name. At the moment we do it 
> with the resolve() method of the CosNaming, and try to catch the 
> NamingContext:NotFound exception. For making sure every exception is 
> catched, we catch the ... as well.
> 
>    The problem is coming up when this creation process is working too 
> fast: Even tough we try to catch everything, from time to time we get 
> the following:
> 
> omniORB: WARNING -- method 'Run' on: boa<0x3b497109b8fb021000010473>
> raised the exception: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
> omniORB: An exception has occured and was caught by tcpSocketMT Worker 
> thread.

This sounds like a compiler problem, especially since putting a delay
in fixes it. What compiler are you using?  Did you compile omniORB
with it?  It might be that the compiler was not configured with
--enable-threads.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --