This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: rmi classes compiled. Execution of server class throwing exception
 
It's not a secret anymore!