Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Julio leopard banderas
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Julio leopard banderas
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
think you

but how can i do it, because i'm new linux user.
 
Ivan Jozsef Balazs
Rancher
Posts: 979
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Under Unix including Linux the (class)path separation character is : (as opposed to ; under Windows).
 
Julio leopard banderas
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think you , but i dont know the steeps to follow.
what should i do


kind regards.
 
Ivan Jozsef Balazs
Rancher
Posts: 979
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Julio leopard banderas wrote:
what should i do


Hm, let me see: Include the necessary jars / classes in CLASSPATH?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic