Details
Description
When a java application which uses the RMI registry is running on a machine that
has a virtual network interface, we go the following rmi exception:
AdminServerImpl err: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind sims-backup/129.146.88.221 !=
thestork.eng.sun.com/129.146.88.47
java.rmi.ServerException: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind sims-backup/129.146.88.221 !=
thestork.eng.sun.com/129.146.88.47
AdminServerImpl fails to register
This is critical that the RMI can deal with the virtual interface setup. In a
HA (High Availability) environment, if one interface fails, the other interface
supposed to take over the system and continue to work. If the rmi server is
having problem with the virtual interface, then the application can not be run.
Note that if we try to stop and restart the application, in somecases it starts
without throwing the remote exception. Our server is compiled with JDK 1.1.
has a virtual network interface, we go the following rmi exception:
AdminServerImpl err: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind sims-backup/129.146.88.221 !=
thestork.eng.sun.com/129.146.88.47
java.rmi.ServerException: Server RemoteException; nested exception is:
java.rmi.AccessException: Registry.rebind sims-backup/129.146.88.221 !=
thestork.eng.sun.com/129.146.88.47
AdminServerImpl fails to register
This is critical that the RMI can deal with the virtual interface setup. In a
HA (High Availability) environment, if one interface fails, the other interface
supposed to take over the system and continue to work. If the rmi server is
having problem with the virtual interface, then the application can not be run.
Note that if we try to stop and restart the application, in somecases it starts
without throwing the remote exception. Our server is compiled with JDK 1.1.
Attachments
Issue Links
- duplicates
-
JDK-4165495 (1.x) registry's checkAccess refuses clients from multi-homed hosts
- Closed