Discussion:
[omniORB] Problem with echo examples
Yohan Hénaut
2011-04-28 14:12:38 UTC
Permalink
Hi everyone,
?
I have installed omniORB 4.1.5 on a debian 5.0.3 OS.
Trying to test the echo example located in omniORB-4.1.5/src/example/echo, I
have the following mistakes when I run eg1, eg2_impl or eg3_impl:
Warning: the local loop back interface (127.0.0.1) is the only address available
for this server.
Then I have to stop the program
?
Here are the results for each running:
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!".

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

debian:/home/yohan/omniORB-4.1.5/src/examples/echo# ./eg2_clt
IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000060000000010102000a0000003132372e302e302e3100b5c90e000000fe8530b94d0000116e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100

Caught system exception TRANSIENT -- unable to contact the server.

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

^C

I have the right answer with eg1 execution (when address space for client and
server is the same) but still with the warning.
What could be the origin of the problem, wrong installed libraries, wrong
configuration?
I'm still trying to fix that problem.
?
thanks for help and consideration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110428/53807ac7/attachment.htm
Thomas Lockhart
2011-04-28 19:05:10 UTC
Permalink
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110428/01cec301/attachment.htm
Duncan Grisby
2011-04-28 19:23:38 UTC
Permalink
Post by Yohan Hénaut
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.
Post by Yohan Hénaut
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!
Post by Yohan Hénaut
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 --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...