echo-client and echo-server on different physical machines, referencing echo.ref

View: New views
3 Messages — Rating Filter:   Alert me  

echo-client and echo-server on different physical machines, referencing echo.ref

by Keith Christian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I recently downloaded and successfully compiled the echo example from
orbit-docs.tar.gz on a Debian Sarge system.  The echo-client and
echo-server tests ran fine.  (I don't see a version number, but the
orbit-docs/examples/echo/Makefile datestamp is 2004-07-09 09:34:54.

Since the echo-client and echo-server ran OK on the same machine, the
paragraph in this web page was interesting:

http://www.gnome.org/projects/ORBit2/orbit-docs/orbit/x182.html

<<<If you want to have fun now, compile orbit on a different machine,
make echo-client on the different machine, move  echo.ref  from the
first machine to the second and run echo-client: eh voila -
client/server over tcp/ip with the same code that ran using unix sockets
on a single machine.>>>

However, even after copying the echo.ref file as explained in the above
web page, echo-client could not connect to echo-server.

Has this been fixed, or are there ways to troubleshoot this?  I'd like
to experiment with echo-client and echo-server on different machines,
I'm sure it's possible.

Thanks.

=======Keith

_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list

Re: echo-client and echo-server on different physical machines, referencing echo.ref

by Kuang-Chun Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had similar problem before when I start learning ORBit2.
There is one issue which may solve your problem.
ORBit2 (CORBA) client use hostname to resolve server's information.
So if your server has hostname, abc.xyz.com, make sure
your client can connect to server by using 'abc.xyz.com'.
IP address is NOT enough.

Also you can use

      ior-decode-2 `cat echo.ref`

to check both hostname and port number used on server.
Do you have firewall blocking the port ?


Regards
KC

On 10/19/06, Keith Christian <keithchristian@...> wrote:

> I recently downloaded and successfully compiled the echo example from
> orbit-docs.tar.gz on a Debian Sarge system.  The echo-client and
> echo-server tests ran fine.  (I don't see a version number, but the
> orbit-docs/examples/echo/Makefile datestamp is 2004-07-09 09:34:54.
>
> Since the echo-client and echo-server ran OK on the same machine, the
> paragraph in this web page was interesting:
>
> http://www.gnome.org/projects/ORBit2/orbit-docs/orbit/x182.html
>
> <<<If you want to have fun now, compile orbit on a different machine,
> make echo-client on the different machine, move  echo.ref  from the
> first machine to the second and run echo-client: eh voila -
> client/server over tcp/ip with the same code that ran using unix sockets
> on a single machine.>>>
>
> However, even after copying the echo.ref file as explained in the above
> web page, echo-client could not connect to echo-server.
>
> Has this been fixed, or are there ways to troubleshoot this?  I'd like
> to experiment with echo-client and echo-server on different machines,
> I'm sure it's possible.
>
> Thanks.
>
> =======Keith
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@...
> http://mail.gnome.org/mailman/listinfo/orbit-list
>
_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list

Re: echo-client and echo-server on different physical machines, referencing echo.ref

by Tor Lillqvist-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What ORBit2 version are you using? There is a bug in ORBit2 2.14.3 that
prevents contacting other hosts over IPv4. It is fixed in CVS but there
hasn't been any newer release of ORBit2. 2.14.2 is better.

--tml


_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list