[omniORB-dev] OmniNames and IONA Orbix 3.3
Duncan Grisby
duncan at grisby.org
Tue May 20 14:07:20 BST 2003
On Friday 16 May, "Nimrod, David (Dave)" wrote:
> I thought I was making some headway with this one, but I'm stumped
> again Turns out the original code was generating IORs to the old
> spec. I made a change to call "genRef" (from genior.cc) and now I'm
> generating proper IOR's.
Why are you generating IORs at all?
> However, I still get an "Invalid Object Ref" exception in the code
> below. The ORB log only shows "Handling a GIOP LOCATE_REQUEST"
> 4749 4f50 0100 0103 1400 0000 0000 0000 GIOP............
> 0c00 0000 3ec3 d876 0000 10ea 0000 0001 ....>..v........
> omniORB: Handling a GIOP LOCATE_REQUEST.
> omniORB: sendChunk: to giop:tcp:135.8.116.17:3079 20 bytes
> omniORB:
> 4749 4f50 0100 0104 0800 0000 0000 0000 GIOP............
> 0000 0000 ....
This shows omniORB replying that the object does not exist. The most
likely reason is that you have the object key wrong in the IOR you
have built. The key for the root naming context should be
"NameService". The above trace shows that you aren't using that key.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-dev
mailing list