Thanks for your reply.
But I really didn;t get your point
"client and server code are not in sync"
could you please explain it.
Actually the problem is not able to pass the Serialized object (in my case that is custom class Order)
Thanks in Advance..
Joined: May 14, 2007
I don't think that the problem is serializing Order class.
The error message seems more like "NoSuchMethodException"
'Not in sync' means, there are some 'mismatches' between server and client
Try recompiling interface, server, and client together.
Joined: Jun 19, 2009
Thanks Bupjae Lee,
I have solved the problem.
I have set the classpath environment variable to the root directory of Order class.
Now I am able to call the remote method from local host.
But I am getting other exception, when trying to execute the remote method from different computer.
One computer is running as the server (eg: server ip is 192.168.1.108).
My client code is exactly like this:
The exception I am getting is:
I don't know, why this error occurs. I am able to ping the two computers and checked the port in the server and it is all working.
The two computers are running in Ubuntu.
But my confusion is why the above exception points to the ip 127.0.1.1 even though I am connecting to the ip 192.168.1.108 (ip of server).