File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes RMI & Linux Ubuntu : 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI & Linux Ubuntu : java.rmi.UnmarshalException: error unmarshalling arguments" Watch "RMI & Linux Ubuntu : java.rmi.UnmarshalException: error unmarshalling arguments" New topic
Author

RMI & Linux Ubuntu : java.rmi.UnmarshalException: error unmarshalling arguments

Julio leopard banderas
Greenhorn

Joined: Dec 20, 2012
Posts: 29
Hi,
I developped Java RMI program, compilation run verry good whithout problem, ut i try to execute m program i get this error :
Erreur RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: ServicesTableau



















Think's for advance
Kind regards.
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 291

Please read this: http://sscce.org/

Now the problem is not with all that code. The problem is with your script.
CLASSPATH is probably the problem. The client, server and RMI Registry all need access to the classes.
For local testing it is easiest to have every class on the CLASSPATH.
Then when all is working, you can separate classes.

Ed's latest article: A Java Parallel Calamity http://coopsoft.com/ar/Calamity2Article.html
Julio leopard banderas
Greenhorn

Joined: Dec 20, 2012
Posts: 29
think you

but how can i do it, because i'm new linux user.
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 865
    
    5
Under Unix including Linux the (class)path separation character is : (as opposed to ; under Windows).
Julio leopard banderas
Greenhorn

Joined: Dec 20, 2012
Posts: 29
Think you , but i dont know the steeps to follow.
what should i do


kind regards.
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 865
    
    5
Julio leopard banderas wrote:
what should i do


Hm, let me see: Include the necessary jars / classes in CLASSPATH?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI & Linux Ubuntu : java.rmi.UnmarshalException: error unmarshalling arguments
 
Similar Threads
Pushing Data from the RMI Server
java.rmi.UnmarshalException?
RMI - Remote Method Invocation
Where's that _skel.class file?
RMI client server don't work on ipv6 machines