This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
RMI Beginner Question
Posted by Howard Wu on October 24, 2000 at 3:53 PM
I'm trying to get a simple RMI app. up and running (from the Sun RMI
Anyways, I'm running both the server and client in the same directory.
I created the interface, the service, the server, and the client all
according to the code given in the tutorial. I generated the stub and
skel classes. rmiregistery is running, but when I try to start the
server, this is what I see.....
java.rmi.ServerException: RemoteException occured in server thread;
nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
The CalculaorImpl_Stub class is sitting right there, but jdk says it's
not there. I'm sure it's something really simple I'm missing. Thank
you for any help you might be able to provide.