• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run RMI

 
Akshayan Venkatesh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i invoke java HelloServer i met this error.

Error:java.rmi.ServerException: RemoteException occurred in server thread; neste
d exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.lang.ClassNotFoundException: HelloImpl_Stub

Please tell me the answer in advance
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First -- read the thousands of other replies that address this problem before posting the same question here.

Second -- it has to do with setting the CLASSPATH.
 
Siamak Saarmann
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is it related to Classpath? I have created the stub and put the policy file , run the rmiregistry and yet receive a same error (the directory containing class files is on the classpath)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic