aspose file tools
The moose likes Distributed Java and the fly likes java.rmi.UnmarshalException: error unmarshalling arguments Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "java.rmi.UnmarshalException: error unmarshalling arguments" Watch "java.rmi.UnmarshalException: error unmarshalling arguments" New topic
Author

java.rmi.UnmarshalException: error unmarshalling arguments

M Al
Greenhorn

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 -Djava.security.policy=policy.txt FileServer

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


[Thumb - Capture-server.PNG]
 Filename Capture-server.PNG [Disk] Download
 Description Server Error
 Filesize 93 Kbytes
 Downloaded:  10 time(s)

Pravin Venkatesh
Greenhorn

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

Joined: Nov 19, 2002
Posts: 341

I see a ClassNotFoundError. Check if generated Stubs are in the classpath.
 
IntelliJ Java IDE
 
subject: java.rmi.UnmarshalException: error unmarshalling arguments
 
Threads others viewed
Running two threads
Simple FIle Sending application
RMI security issue in websphere
can not read file
Socket connection program works for localhost but not for other ip
developer file tools