File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting java.rmi.UnmarshalException in first line

 
glup klosar
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 746
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic