[omniORB] OmniOrb and Orbix
Glenn A. Hochberg
ghochberg@att.com
Tue, 14 Mar 2000 08:41:15 -0500
Which naming service are you using--Omninames or the Orbix naming service? OmniORB
uses the "bootstrap service" to find the Naming Service; Omninames provides this
bootstrap service--if you're using Orbix's NS, perhaps it does not.
-Glenn
Shawn Bisgrove wrote:
> I am writing a client that I would like to interop
> with a Orbix 3.0.1 server. I am currently
> jumpstarting the namingservice lookup with an IOR
> because resolve initial references does not work. I
> would like to understand for my own sake why the
> latter does not work but I can browse the nameservices
> just fine when I give my program an initial IOR to go
> against. When using nameclt with debug level 40 it
> gives me:
>
> omniORB: gateKeeper is tcpwrapGK 1.0 - based on
> tcp_wrappers_7.6
> omniORB: strand Rope::incrRefCount: old value = 0
> omniORB: Creating ref to remote: key<0x494e4954>
> target id : IDL:omg.org/CORBA/Object:1.0
> most derived id: omg.org/CORBA/InitialReferences:1.0
> omniORB: strand Rope::incrRefCount: old value = 0
> omniORB: Creating ref to remote: key<0x494e4954>
> target id : IDL:omg.org/CORBA/Object:1.0
> most derived id: omg.org/CORBA/InitialReferences:1.0
> omniORB: The omniDynamic library is not linked.
> omniORB: Getting initial object reference for:
> NameService
> from:
> IOR:00000000000000246f6d672e6f72672f434f5242412f496e697469616c52656665726
> 56e6365733a312e300000000001000000000000001800010000000000056d6172790063062300000
> 004494e4954
> ll_send: 68 bytes
> 4749 4f50 0100 0000 0000 0038 0000 0000
> GIOP.......8....
> 0000 0001 0100 0000 0000 0004 494e 4954
> ............INIT
> 0000 0004 6765 7400 0000 0007 6e6f 626f
> ....get.....nobo
> 6479 0000 0000 000c 4e61 6d65 5365 7276
> dy......NameServ
> 6963 6500 ice.
> omniORB: throw COMM_FAILURE from
> tcpSocketMTfactory.cc:967
> omniORB: tcpSocketStrand::~Strand() close socket no. 4
> omniORB: Caught exception in
> CORBA::InitialReferences::get().
> omniORB: throw NO_RESOURCES from corbaOrb.cc:418
> Cannot resolve the root context.
> Have you set up the configuration file properly?
>
> thanks,
>
> shawn bisgrove
>
> =====
> ________________________________________
> |shawn_bisgrove@partech.com
> |http://www.geocities.com/shawn_bisgrove
> |
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
--
Glenn A. Hochberg | "Any activity becomes creative when the doer
AT&T Labs | cares about doing it right, or doing it better."
ghochberg@att.com | -John Updike