[omniORB] [help] [beginner] cannot run naming service examples from python chapter 2 "The Basics"

Duncan Grisby duncan at grisby.org
Tue Aug 30 16:34:10 BST 2011


On Thu, 2011-08-25 at 10:41 +1200, Alistair Bayley wrote:

> I have this in /etc/omniORB4.cfg:
> #InitRef = NameService=corbaloc::localhost:2809/NameService
> #DefaultInitRef = corbaloc::

[...]
> omniORB: throw NO_RESOURCES from initRefs.cc:699
> (NO,NO_RESOURCES_InitialRefNotFound)

That's expected because you haven't told omniORB where its naming
service is.

[...]
> If I uncomment the two lines in omniORB4.cfg, I get this test output:

[...]
> omniORB: Unable to open new connection: giop:tcp:localhost:2809

That's not good.

If you use telnet, does it connect?:

telnet localhost 2809


How about

telnet 127.0.0.1 2809

and

telnet 172.30.135.150 2809

?

Does it work if you change omniORB.cfg to be

  InitRef = NameService=corbaname::127.0.0.1

or

  InitRef = NameService=corbaname::172.30.135.150


If none of those things reveal anything, can you run omniNames with
-ORBtraceLevel 25 ?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list