[omniORB] error in 'bind_new_context'

Clarke Brunt clarke.brunt at yeomannavigation.co.uk
Tue Feb 3 19:10:13 GMT 2004


> I am using omnbORB-4.0.3 in windows 2000. I have
> written a c++ app very similar to the one in eg3_Impl
> (example 3 echo server) provided in the distribution,
> which fails on 'bind_new_context' call. Note that
> example 3 works fine.

Code looks fine to me (though difficult to read with line-wrapping in the
mailer). First thoughts were "Are you _sure_ you're running the Naming
Service?", and "Are you _sure_ you have set up environment
variables/registry/arguments so that resolve_initial_references can find
it?". But then I think you might at least have got CORBA::Exception and not
a catch(...).

But you say that example 3 works fine. Can you try stepping into the code
for the CORBA call to bind_new_context (just point DevStudio to the Omni
source files in a debug build), and perhaps you will spot where something is
going wrong.

--
Clarke Brunt, Principal Software Engineer, Yeoman Navigation




More information about the omniORB-list mailing list