A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Distributed Java
Author
java.rmi.UnmarshalException: error unmarshalling arguments
M Al
Greenhorn
Joined: Oct 18, 2011
Posts: 1
posted
Oct 19, 2011 10:04:54
0
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
Server Error
Pravin Venkatesh
Greenhorn
Joined: Jun 22, 2010
Posts: 5
posted
Oct 26, 2011 06:40:17
0
you could check the connectivity between the two nodes.
Abhinav Srivastava
Ranch Hand
Joined: Nov 19, 2002
Posts: 345
I like...
posted
Oct 31, 2011 05:40:16
0
I see a ClassNotFoundError. Check if generated Stubs are in the classpath.
I agree. Here's the link:
jrebel
subject: java.rmi.UnmarshalException: error unmarshalling arguments
Similar Threads
RMI security issue in websphere
Running two threads
can not read file
Simple FIle Sending application
Socket connection program works for localhost but not for other ip
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter