[omniORB] OmniOrb and Orbix
Brecht Vermeulen
Brecht.Vermeulen@rug.ac.be
Tue, 14 Mar 2000 15:37:52 +0100 (MET)
Hi,
you have to put in omniorb.cfg the entry :
NAMESERVICE IOR 'laskjsladjk'
with laskjsladjk substituted by the ORbixNames IOR. (don't know if
NAMESERVICE is correctly written qua capitals, it could be Nameservice
also, I cant check it now)
it works perfect with me.
the IOR of OrbixNames , you can get it with ns -Ifilename
But you will get a delay , because OrbixNames puts the port number of the
orbixd in the IOR and so the calls go via the deamon.
success,
Brecht Vermeulen
On Tue, 14 Mar 2000, 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
>
>