NetRexx 3.01RC1 and RMI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

NetRexx 3.01RC1 and RMI

KP Kirchdörfer

Hi there

 

just a heads-up if you use NetRexx and RMI.

 

Today I ran into an error (see below), cause I (accidently) recompiled the local classes with NetRexx 3.01rc1, and missed to update NetRexxR on the server side.

 

Copying new NetRexx jar to the server sovled the pb.

 

And if you use java webstart to automatically download the classes, better update the download dir as well and advice users to clear JavaWebStart cache.

 

kp

 

java.rmi.UnmarshalException: error unmarshalling return; nested exception is:

java.io.InvalidClassException: buchung; local class incompatible: stream classdesc serialVersionUID = -4422056132427417277, local class serialVersionUID = -4091463750994703995

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173)

at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)

at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/