Hello RMI gurus,
I am trying to run an example RMI application to get a better understanding of how RMI works, but I have encountered this problem. The error I am getting is this:
Error: RemoteException occured in server thread; nested exception is:
java.rmi.AccessException: Registry.Registry.rebind disallowed;
origin
LOCALHOST/127.0.0.1 is non-local host
I have the rmiregistry running on the default port on the same system that I am trying to run the server part of the program, and am using Java 1.3. Here is how I start the program:
java -Djava.rmi.server.codebase=file:///java/verify/ -cp /java/verify FibonacciServer
Also, I bind my object to rmi with this call in the FibonacciServer class:
Naming.bind("fibonacci", f);
I am guessing it is choking on this.
Any way...thanks in advance for any help with this!
C.M.