🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3056

Re: Problem with RMI callback

#3056
From: Clint Brewer
Date: Tue, 14 Apr 1998 00:00
56 lines
2156 bytes
Maga Hegde wrote:
> 
> Hi ,
> 
>    I have an application where I have implemented RMI callback.
> 
> The client, register a callback by calling registerForCallback(this)
> 
> In the server, invoke a method on the callback remote reference
> passed in to 'register'.
> 
> This works fine when there is a DNS entry, so that hostname<->ipaddress
> can be resolved easily.
> 
> But this does not seem to work when we want to work only with ip
> address.
> In this case the server and client machines can NOT PING each other
> using host names.
> But they CAN PING each other using ip addresses.
> 
> It looks like when I call registerForCallback(this) from the client,
> the server gets the "HOSTNAME instead of ipaddress. Since the hostname
> cannot
> be resolved from the server RMI connections do not work.
> 
> here is the output for the System.out.println statement
> public  boolean registerForCallback(TrapRegisterNotify obj)
> {
>         System.err.println("\nServerImplr::registerForCallback =" +
> obj);
>         notifyTable.addElement(obj);
>         return true;
>  }
> 
> ServerImplr::registerForCallback =com.micom.nms.nextgen.vip.client.trap.
> 
> TrapViewerFrame_Stub[RemoteStub
> [ref: [endpoint:[magalab:1428](remote),objID:[80169f1:cfc4e03070:-8000,
> 0]]]]
> 
> magalab is the hostname of the client.
> 
> Can you please give me pointers to this problem ?
> 
> Thanks much,
> Maga.


Hello Maga,

  I don't have any answers for you, but you might get better response to
this post if it were in the borland.public.jbuilder.corba-rmi newsgroup.

good luck,
Clint Brewer
Technical Details
Message-ID: <353406F8.5A59@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35324724.970BE3E0@micom.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,b25b06896c092fa1
X-Google-Attributes: gid1089d0,public
From: Clint Brewer <supportinfo@borland.com>
Subject: Re: Problem with RMI callback
Date: 1998/04/14
Message-ID: <353406F8.5A59@borland.com>
X-Deja-AN: 344133671
Content-Transfer-Encoding: 7bit
References: <35324724.970BE3E0@micom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Borland International
Newsgroups: borland.public.jbuilder.java.api