Re: Multi-host orbit



On Thu, 2002-04-25 at 20:45, Rick Walker wrote:
> I've just started looking at CORBA and ORBit, in particular.  I've 
> implented several client/server examples found on various sites and
have 
> written a few little examples of my own.  All these work very nicely
on 
> a single RH7.2 box, but I have one (stupid) little problem.  I am only
> able to contact my server when my client and server are on the same
machine.
> According to Chap. 21 (Implementing CORBA with ORBit) of the Wrox book
> Professional Linux Programming by Matthew and Stones, there should be
a file
>         /etc/orbitrc
> which should control what kinds of connections ORBit will accept.  No 
> such file.
> What magic needs to be worked w/ RH7.2 to allow communication between
hosts.
> Thanks in advance and my apologies for bothering you w/ such a simple 
> (for you) question.
> RWalker
> BTW ... can anyone suggest a GOOD reference for understanding corba 
> network communication
As default ORBit uses Unix-Sockets that can't be accessed from outside.
Using options  -ORBIIOPUSock=0 -ORBIIOPIPv4=1 in command line on
application startup, this application will use INET-sockets instead. Or
putting those parameters into ~/.orbitrc all Gnome-Apps will use this
setting on login.

---------- ~/.orbitrc ------------
ORBIIOPUSock=0
ORBIIOPIPv4=1
--------------------------------- 

Have a look into stringified object reference (IOR) of you server-object
using "/usr/bin/ior-decode". 
  
Regards, Frank

-- 
-------------------------------------------------
 Frank.Rehberger at acm.org
-------------------------------------------------
 The Twelve Networking Truths 
 http://www.ietf.org/rfc/rfc1925.txt?number=1925
-------------------------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]