[prev in list] [next in list] [prev in thread] [next in thread]
List: jacorb-developer
Subject: Re: [jacorb-developer] Jacorb use localhost instead of hostname
From: "Wagner, Marcus (Marcus)" <marcuswagner () avaya ! com>
Date: 2011-07-04 5:53:38
Message-ID: 0FFC362A4240944DB0CF31276D93DB1A01C9141A () 307622ANEX2 ! global ! avaya ! com
[Download RAW message or body]
Hi,
there are three properties that handle the problem of binding jacorb on specific \
physics. The option "OAIAddr" is useful in your case, I think.
See Documentation for further informations (Chapter 3.3):
OAAddress
Used to supply an explicit listener protocol and address for servers. The general \
form of the value is <protocol>://<address>. The protocol name must match the \
protocol(s) used by the server. For example: iiop://myhost:1234. This property \
supercedes OAIAddr and OAPort.
OAIAddr
The Object Adapter Internet Address: IP address on multi-homed host (this gets \
encoded in object references). Addresses like 127.0.0.X will only be accessible from \
the same machine! If OAIAddr is not set on a multi-homed host it is operating \
system/JVM dependant which IP address is selected. If the developer is trying to use \
callbacks (not bidirectional GIOP) on a multihomed host the client will also require \
OAIAddr set as it is acting as a server.
OAPort
See OAIAddr above (ignored if OAAddress is set)
regards
> -----Ursprüngliche Nachricht-----
> Von: jacorb-developer-bounces@lists.spline.inf.fu-berlin.de
> [mailto:jacorb-developer-bounces@lists.spline.inf.fu-berlin.de
> ] Im Auftrag von Leon Rosenberg
> Gesendet: Samstag, 2. Juli 2011 10:35
> An: Discussions concerning CORBA development with JacORB
> Betreff: Re: [jacorb-developer] Jacorb use localhost instead
> of hostname inIOR
>
> We had the same issue and solved it by puting the real name
> and real ip as first entry in hosts:
> 10.0.1.1 myresolveablename.internal
> 127.0.0.1 localhost
>
> regards
> Leon
>
> On Tue, Jun 28, 2011 at 5:05 PM, Prathima <pdandapa@cisco.com> wrote:
> > Hello,
> >
> >
> >
> > In Solaris, Jacorb uses localhost instead of hostname in IOR. As a
> > result, remote calls are failing.
> >
> > We have enabled jacorb.dns.enable property in orb.properties file.
> >
> >
> >
> > /etc/hosts file has the below entry
> >
> > 127.0.0.1 localhost
> >
> > 127.0.0.1 server_hostname
> >
> >
> >
> > With the similar settings in windows and Linux, NameServer uses
> > hostname in IOR, but seeing this issue in Solaris alone.
> >
> > Any pointers?
> >
> >
> >
> >
> >
> > Thanks and Regards,
> >
> > Prathima.
> >
> >
> >
> > _______________________________________________
> > jacorb-developer maillist -
> > jacorb-developer@lists.spline.inf.fu-berlin.de
> >
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-develope
> > r
> >
>
> _______________________________________________
> jacorb-developer maillist -
> jacorb-developer@lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-
> developer
>
_______________________________________________
jacorb-developer maillist - jacorb-developer@lists.spline.inf.fu-berlin.de
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic