This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes local class incompatible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "local class incompatible" Watch "local class incompatible" New topic

local class incompatible

saravana kumar
Ranch Hand

Joined: Jun 25, 2002
Posts: 72
Hi All,

I am getting the following error when i call a remote application. i have attached my program and error.

can anyone of you know how to solve this problem ?


My Program
public class ABCServiceImpl implements ABCService,Serializable {
private static final long serialVersionUID = -6944625812039322816L;
public Map verifyLogin(String name,String pwd) {
myRMISecurityManager sm = new myRMISecurityManager();


WFSessionFactory.createSession(wfEValue, name, pwd, true);
}catch(WFException e )
System.out.println("error in connection");




private static class myRMISecurityManager extends RMISecurityManager {

public myRMISecurityManager() {
public void checkPermission(Permission perm, Object context) {
public void checkPermission(Permission perm ) {

[WKT.020.0019] Remote method invocation failed with RemoteException, com.wm.zeus.pd.rt.RTUser; local class incompatible: stream classdesc serialVersionUID = 5159583942181034859, local class serialVersionUID = -6944625812039322816, reconnection attempt in progress...
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
At first sight seems that your client and your server have different versions of the same class com.wm.zeus.pd.rt.RTUser.

If your client and your server are not downloading the code from the same place, probably, the server or the client class in question has been updated with a new version of serialVersionUID.

Make sure that both distributions, client and server, have the same versions of the classes. Or build again the distribution files for server and clients to make sure.
[ October 06, 2006: Message edited by: Edwin Dalorzo ]
subject: local class incompatible