>Anyone been able to succesfully launch rmiregistry and bind
>UnicastRemoteObjects to it on Linux?

Yep. I'm not using the rmiregistry script itself, but I make extensive
use of RMI in my work and it's just fine in Linux. Make sure you have
the latest JDK you can run, RMI gets frequent bugfixes.

>First, do you know of any way to debug rmiregistry when it launches?

You can always write your own registry, it's quite simple using
java.rmi.registry.Registry

>Connection refused to host: [ns2-lsan03.pbi.net:1099]; nested
>exception is: java.net.ConnectException: Connection refused" For some
>reason, the application is trying to bind itself to port 1099 on one
>of Pacific Bell Internet's computers, which we use for DNS
>resolution.

Maybe that address at pbi.net is your current dynamic IP address
assigned by pacbell.net? Java (and libc) is a bit weird about this.
Basically, machines have multiple IP addresses (usually at least
127.0.0.1 and whatever Internet address you're currently using). But
libc and Java often assume there's only one IP address.

If a service binds to one address and another service tries to look up
on another, it gets confused. The order of things in /etc/hosts can
affect this, as well as DNS, /etc/nsswitch.conf, what order you bring
the interfaces up on. There are FAQs about this, but I don't
understand it myself. Maybe someone can explain it.
 
A quick test - try your code with no network connections running. or
try it with PPP running the whole time, or...

                                                  [EMAIL PROTECTED]
.       .      .     .    .   .  . . http://www.media.mit.edu/~nelson/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to