John Collins wrote:
> ...
> However, I can't get past the attempt to bind to the rmi registry. This
> code works on both NT and Solaris, and has been exercised fairly
> extensively. I was hoping to be able to jettison NT and move over to
> Linux for further development.
...
Thanks to everyone who responded to this. Adrian Colley at Sun supplied the
critical clue. It turns out that rmiregistry and Naming.rebind apparently
use different methods to resolve which host they are on, and with a
standalone host you have to make sure the name you have assigned to your
machine appears first in the localhost line of the /etc/hosts file. Maybe
there's another way, but everything is working fine for me now. Since I
lost access to NT in the process of trying to fix this, I'm glad I can now
rely on Linux for my Java development. <that's another long story>. Suffice
to say that I'm going to see how long I can get along without NT. Maybe
forever?
John Collins