aspose file tools*
The moose likes Distributed Java and the fly likes rmi classes compiled. Execution of server class throwing exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmi classes compiled. Execution of server class throwing exception" Watch "rmi classes compiled. Execution of server class throwing exception" New topic
Author

rmi classes compiled. Execution of server class throwing exception

michael tall
Ranch Hand

Joined: Nov 02, 2008
Posts: 61
I coded an interface, a server program and a client program (all very simple) and compiled them. All 3 .class files are in same folder. After starting server program, I wanted to execute client program on a remote machine. I removed classpath and started rmiregistry. When I executed the server program, it threw exceptions but didn't abort. Exception reads: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: Echo ... etc
Code is
What may be causing exception?
 
Consider Paul's rocket mass heater.
 
subject: rmi classes compiled. Execution of server class throwing exception