[EMAIL PROTECTED] wrote:
>
> Hi RMI Gurus
>
> I was heartened to see most of the names dealing with this question
> previously once again active in the search for an RMI Registry.
>
> I would appreciate whatever light you can throw on my problem:
>
> "Registry.[re]bind localhost/127.0.0.
[EMAIL PROTECTED] wrote:
>
> Hi RMI Gurus
>
> I was heartened to see most of the names dealing with this question
> previously once again active in the search for an RMI Registry.
>
> I would appreciate whatever light you can throw on my problem:
>
> "Registry.[re]bind localhost/127.0.0.1 !=
Hi RMI Gurus
I was heartened to see most of the names dealing with this question
previously once again active in the search for an RMI Registry.
I would appreciate whatever light you can throw on my problem:
"Registry.[re]bind localhost/127.0.0.1 != spin.sgh-net.de/127.0.0.2"
Steps taken so fa
You are correct to pick up the typos in my note. The syntax
that I got to bind was in fact "rmi//... rather than "rmi:// ...
As I have since read various sources, I have found the syntax for the argument of
bind and rebind variably as:
("rmi://host/name", obj) or ("//host/name", obj).
Further e
"Douglas T. Brown" wrote:
>
> 1) The correct syntax for the first argument string for rebind is:
> "rmi://host/name", whereas I had only "//host/name".
>
> 2) More interesting is that localhost does not work. Thus,
> "rmi//127.0.0.1/HelloServer" does not work, nor does
> "rmi//localhost/Hello
Thank you all for your help on this.
I seem to have it working now. There were two issues which I'll try to make
explicitly clear for the mail list archive and future reference:
1) The correct syntax for the first argument string for rebind is:
"rmi://host/name", whereas I had only "//host/nam
As for the Java part I cannot help you there
-Original Message-
From: Douglas T. Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 18, 1998 10:56 AM
To: Java-Linux Mail List
Subject: RMI binding bug
Can someone help me out, here? I'm sure that some of you have solved this
Carl,
You wrote:
Is it not
"rmi://xxx.xxx.xxx.xxx/name" ??
First, let me thank you for your quick response.
Second, let me say, simply: It is. :-)
I appreciate your help, and now I'll just quietly slip back under the nearest rock!
Thanks again,
-DTB
The issue here is that the RMI registy is checking that the client's hostname
matches the local hostname on bind() and rebind() calls. In addition the
IP addresses are checked for a match.
The logic is:
InetAddress localhost = InetAddress.getLocalHost();
Class class = Class.f
Can someone help me out, here? I'm sure that some of you have solved this
problem long ago. . . In fact, there is one thread in the Java-Linux archives
that deals
with this. I tried putting my machine as the first line in /etc/hosts as suggested:
xxx.xxx.x.2 MyHostName MyHostName.mydomain.com
10 matches
Mail list logo