[omniORB] Unable to connect omniORB apps to ORBexpress NameService.

Duncan Grisby duncan at grisby.org
Fri Nov 12 14:51:56 GMT 2004


On Wednesday 3 November, dahaverk at rockwellcollins.com wrote:

> Just looking for some ideas....   I've tried a few things, and I have a
> work around.   But it would be nice to get my ominORB apps to connect up
> with the ORBexpress nameservice.
> 
> I did use the "nameclt" program for the included messages included...
> (e.g. traceLevel=40 )

Your traces for GIOP 1.1 and 1.2 both have the same format, where
omniORB says:

> 4749 4f50 0101 0100 5800 0000 0000 0000 GIOP....X.......
> 0200 0000 0136 3535 0b00 0000 4e61 6d65 .....655....Name
> 5365 7276 6963 6520 0600 0000 5f69 735f Service ...._is_
> 6100 2020 0000 0000 2800 0000 4944 4c3a a.  ....(...IDL:
> 6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
> 672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
> 312e 3000                               1.0.

and ORBexpress says

> 4749 4f50 0100 0006 0000 0000           GIOP........

which is a GIOP 1.0 MessageError message. It shows that ORBexpress
doesn't support GIOP 1.1 or 1.2.

The trace for GIOP 1.0 is different...

> 4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
> 0200 0000 0136 3535 0b00 0000 4e61 6d65 .....655....Name
> 5365 7276 6963 6520 0600 0000 5f69 735f Service ...._is_
> 6100 2020 0000 0000 2800 0000 4944 4c3a a.  ....(...IDL:
> 6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
> 672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
> 312e 3000                               1.0.
> omniORB: Scan for idle connections (1099517071,730475000)
> omniORB: Scan for idle connections done (1099517071,730475000).
[...]

That shows that omniORB sent the request and ORBexpress just didn't
reply at all. It just left the connection open. Without a timeout
configured in omniORB, it will sit there for ever waiting for a reply
that isn't going to come. You'll have to see if there's any tracing
you can to in ORBexpress to see what it thinks is going on.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list