0
votes

I am trying to run RMI client on a remote machine in my LAN. I have implemented Server and Registry on a different machine in LAN. It works fine on same machine. But when I try to run Client program on different machine it shows following exception: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: CalculatorImpl_Stub (no security manager: RMI class loader disabled)

Thanks in advance!

1
Have you tried googling "no security manager: RMI class loader disabled"?Augusto
@Augusto That's a red herring. The actual issue here is the actual exception and why it occurs.user207421

1 Answers

0
votes

You haven't distributed the stub file to the client.