| Author |
RMI & Linux Ubuntu : java.rmi.UnmarshalException: error unmarshalling arguments
|
Julio leopard banderas
Greenhorn
Joined: Dec 20, 2012
Posts: 23
|
|
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: 288
|
|
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: 23
|
|
think you
but how can i do it, because i'm new linux user.
|
 |
Ivan Jozsef Balazs
Ranch Hand
Joined: May 22, 2012
Posts: 380
|
|
Under Unix including Linux the (class)path separation character is : (as opposed to ; under Windows).
|
 |
Julio leopard banderas
Greenhorn
Joined: Dec 20, 2012
Posts: 23
|
|
Think you , but i dont know the steeps to follow.
what should i do
kind regards.
|
 |
Ivan Jozsef Balazs
Ranch Hand
Joined: May 22, 2012
Posts: 380
|
|
Julio leopard banderas wrote:
what should i do
Hm, let me see: Include the necessary jars / classes in CLASSPATH?
|
 |
 |
|
|
subject: RMI & Linux Ubuntu : java.rmi.UnmarshalException: error unmarshalling arguments
|
|
|