Hiya,

After yesterdays fun with getting a Frame Buffer working (thanks for the
advice), Im now having fun with serialization. I am using a Win1.2.2 JVM on
the client end, and the rmi server is using the Blackdown1.2.2 or 1.2
(whatever I can get to work:-). When I try to return an object from the
server to client, I get the following exception thrown at the client end.

java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
java.io.InvalidClassException: com.teamenergy.libraries.analysis.TaskImpl;
Local class not compatible: stream classdesc
serialVersionUID=-813253652674148292 local class
serialVersionUID=7569666942426104511
java.io.InvalidClassException: com.teamenergy.libraries.analysis.TaskImpl;
Local class not compatible: stream classdesc
serialVersionUID=-813253652674148292 local class
serialVersionUID=7569666942426104511
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:438)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:482)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:785)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
etc

Now, both the server and client classes are the same, so, is this because I
am using two different jdks? Or does rmi still have a few problems?

Cheers,


J Baker

PS. Frame Buffers rule:-)

-- 
John Baker, BSc CS.               
Java developer and Linux lover:-)
Sms: [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to