Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.rmi.UnmarshalException: error unmarshalling arguments

 
M Al
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to run the RMI which I found in oracle tutorial. WHen I am trying to run the FileServer, it gives me this error. I also tied other sample code but I still have the same problem. I used this commands:

javac *.java
rmic FileImpl
start rmiregistry
java -Djava.security.policy=policy.txt FileServer

The last one give me almost one page error. I attached the code I received.


Capture-server.PNG
[Thumbnail for Capture-server.PNG]
Server Error
 
Pravin Venkatesh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could check the connectivity between the two nodes.
 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see a ClassNotFoundError. Check if generated Stubs are in the classpath.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic