RE: ORBit-0.5.12 name server IOR doesn't work with multiple machines
- From: "Adam Buckley" <adambuckley gmx net>
- To: <orbit-list gnome org>
- Subject: RE: ORBit-0.5.12 name server IOR doesn't work with multiple machines
- Date: Wed, 21 Nov 2001 17:29:03 +0100
Hi,
> You don't have IIOP over IPv4 switch on ... have a look at q 2.b on
> the faq http://orbit-resource.sourceforge.net/faq.html#orbit
Thanks for the help! After solving a hosts problem, everything works now -
the rest of this message is for the benefit of people who had the same
problem.
- Adam.
So now I start the name server like this:
> orbit-name-server -ORBIIOPIPv4=1 -ORBIIOPUSock=0
When I decoded the IOR, I was getting:
> /usr/src/ORBit-0.5.12/test/ior-decode [pasted IOR]
>
> Tags known:
> TAG_INTERNET_IOP: 0x0
> TAG_MULTIPLE_COMPONENTS: 0x1
> TAG_ORBIT_SPECIFIC: 0xbadfaeca
>
> Object ID: IDL:omg.org/CosNaming/NamingContext:1.0
> Profile count: 1
>
> Profile type: TAG_INTERNET_IOP
> Object endian: Little
> IIOP version: 1.0
> Host: 127.0.0.1
> Port: 1051
> Object key: "......FX..|.....l.(...rh"
The host was 127.0.0.1, so my remote client still couldn't reach it.
Then I changed /etc/hosts from:
> 127.0.0.1 landau localhost.localdomain localhost
To:
> 127.0.0.1 localhost.localdomain localhost
> 192.168.0.1 landau
(192.168.0.1 is the real IP address of "landau" - the server)
Now the decoded IOR says:
> [snip]
>
> Profile type: TAG_INTERNET_IOP
> Object endian: Little
> IIOP version: 1.0
> Host: 192.168.0.1
> Port: 1052
> Object key: "......w...B.....5......."
I start my server with:
> ./server -ORBIIOPIPv4=1 -ORBIIOPUSock=0 -ORBNamingIOR=`cat ior`
And my client on a separate machine, using the same (NFS-mounted) project
directory:
> ./client -ORBIIOPIPv4=1 -ORBIIOPUSock=0 -ORBNamingIOR=`cat ior`
All is good!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]