aspose file tools*
The moose likes Distributed Java and the fly likes Getting java.rmi.UnmarshalException in first line Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Getting java.rmi.UnmarshalException in first line" Watch "Getting java.rmi.UnmarshalException in first line" New topic
Author

Getting java.rmi.UnmarshalException in first line

glup klosar
Greenhorn

Joined: May 04, 2009
Posts: 18
This is a school project and I am running everything on 1 machine. I am getting java.rmi.UnmarshalException in the very first line where I try to do something rmi-related



the second line throws the exception. I am running on Linux, using eclipse, and I did rmiregistry& in console. Can this be the reason for error? How do I check if rmiregistry is running properly?

More precisely, the error is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: server.ConnectorInterface
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 444
    
    1

More precisely, the error is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: server.ConnectorInterface


Mmm, seems a problem of classpath more than an RMI one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting java.rmi.UnmarshalException in first line