This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Distributed Java and the fly likes java.rmi.UnmarshalException: error unmarshalling arguments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "java.rmi.UnmarshalException: error unmarshalling arguments" Watch "java.rmi.UnmarshalException: error unmarshalling arguments" New topic

java.rmi.UnmarshalException: error unmarshalling arguments

M Al

Joined: Oct 18, 2011
Posts: 1
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 FileServer

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

[Thumbnail for Capture-server.PNG]

Pravin Venkatesh

Joined: Jun 22, 2010
Posts: 5
you could check the connectivity between the two nodes.
Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 349

I see a ClassNotFoundError. Check if generated Stubs are in the classpath.
I agree. Here's the link:
subject: java.rmi.UnmarshalException: error unmarshalling arguments