This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting java.rmi.UnmarshalException in first line

 
glup klosar
Greenhorn
Posts: 18
  • 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: 793
7
IBM DB2 Java Netbeans IDE
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic