This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 867
    
    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: 867
    
    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