[omniORB] Problem with echo examples

Duncan Grisby duncan at grisby.org
Thu Apr 28 15:23:35 BST 2011


On Thu, 2011-04-28 at 09:12 +0100, Yohan Hénaut wrote:

> debian:/home/yohan/omniORB-4.1.5/src/examples/echo# ./eg1
> omniORB: Warning: the local loop back interface (127.0.0.1)
> is the only address available for this server.
> I said, "Hello!".
> The Echo object replied, "Hello!".

So that's working fine.

> debian:/home/yohan/omniORB-4.1.5/src/examples/echo# ./eg2_impl 
> omniORB: Warning: the local loop back interface (127.0.0.1)
> is the only address available for this server.
> IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000060000000010102000a0000003132372e302e302e3100b5c90e000000fe8530b94d0000116e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
> ^C

That's also working fine, but by hitting ctrl-C, you have stopped it!

> debian:/home/yohan/omniORB-4.1.5/src/examples/echo# ./eg2_clt
> IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000060000000010102000a0000003132372e302e302e3100b5c90e000000fe8530b94d0000116e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
> Caught system exception TRANSIENT -- unable to contact the server.

It's unable to contact the server because you stopped it!  Run the
server in one terminal and leave it running, then run the client in
another window.

If you think your machine should have an IP address other than the
loopback, it's an error that omniORB isn't able to see it. What does
ifconfig output?

Duncan.

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





More information about the omniORB-list mailing list