J
John C. Bollinger
Hi folks,
I wondering whether anyone can give me a lead on a strange RMI failure.
After successfully retrieving a remote object stub from the RMI
server, the client receives a java.rmi.ConnectException when it tries to
invoke a method (via the stub) on the remote object. The exception
specifies "refused to host: 127.0.0.1", and the root exception is a
java.net.ConnectException thrown by the RMI stack when it tries to open
a socket. I know the stub was retrieved because its class appears a few
levels down in the stack trace. I don't have the full stack trace
accessible at the moment but I'll provide it as soon as I can if the
above doesn't clue anyone in.
An identical copy of the client worked successfully against a different
host running the same version of the RMI server, but the JVM versions
on the server are not identical (Sun 1.4.2 vs. Sun 1.4.2_03). There may
be configuration differences, but I'm not sure what to look for. The
server and client software were compiled together with javac of Sun
1.4.2_03. The servers are running on RedHat Linux 8 with the Sun Java
packages, and the clients are running in Windows 2000/XP.
If this sounds familiar to anyone, or if there are any suggestions as to
what I should check then I would be very pleased to hear about it.
Cheers,
John Bollinger
(e-mail address removed)
I wondering whether anyone can give me a lead on a strange RMI failure.
After successfully retrieving a remote object stub from the RMI
server, the client receives a java.rmi.ConnectException when it tries to
invoke a method (via the stub) on the remote object. The exception
specifies "refused to host: 127.0.0.1", and the root exception is a
java.net.ConnectException thrown by the RMI stack when it tries to open
a socket. I know the stub was retrieved because its class appears a few
levels down in the stack trace. I don't have the full stack trace
accessible at the moment but I'll provide it as soon as I can if the
above doesn't clue anyone in.
An identical copy of the client worked successfully against a different
host running the same version of the RMI server, but the JVM versions
on the server are not identical (Sun 1.4.2 vs. Sun 1.4.2_03). There may
be configuration differences, but I'm not sure what to look for. The
server and client software were compiled together with javac of Sun
1.4.2_03. The servers are running on RedHat Linux 8 with the Sun Java
packages, and the clients are running in Windows 2000/XP.
If this sounds familiar to anyone, or if there are any suggestions as to
what I should check then I would be very pleased to hear about it.
Cheers,
John Bollinger
(e-mail address removed)