>From the exception thrown:
anonymous wrote : local class incompatible: stream classdesc serialVersionUID = 
-2909329895029296248, local class serialVersionUID = -4977622166779282521 

server version = -2909329895029296248 == Long.valueOf(0xd79ffbdff05ab388L);
local version  = -4977622166779282521 == Long.valueOf(0xbaebef030b02bba7L);

By looking at the code, 

public class InvokerLocator {
  | ...
  | static 
  |     {
  |         if(Version.getDefaultVersion() == 1)
  |             serialVersionUID = 0xd79ffbdff05ab388L;      <--- server version
  |         else
  |             serialVersionUID = 0xbaebef030b02bba7L;     <--- local version
  |     }
  | }

So version from server is set to 1. Why?

public class Version {
  | ...
  |     public static int getDefaultVersion()
  |     {
  |         return defaultByteVersion;
  |     }
  | ...
  |        defaultByteVersion = 22;                                         
<----- default
  |         boolean precompatibleFlag = false;
  |         String precompatible = 
System.getProperty("jboss.remoting.pre_2_0_compatible");
  |         if(precompatible != null && precompatible.length() > 0)
  |             precompatibleFlag = 
Boolean.valueOf(precompatible).booleanValue();
  |         if(precompatibleFlag)
  |         {
  |             defaultByteVersion = 1;                                      
<----- set to 1
  |             performVersioning = false;
  |         } else
  |         {
  |             String userDefinedVersion = 
System.getProperty("jboss.remoting.version");
  |             if(userDefinedVersion != null && userDefinedVersion.length() > 
0)
  |             {
  |                 byte userByteVersion = (new 
Byte(userDefinedVersion)).byteValue();  <-- could be 1
  | ....
  | }

So either the server is running with jboss.remoting.pre_2_0_compatible flagged 
to true or jboss.remoting.version is set to 1.

Does that sound right? 

Yet I couldn't find any reference to either one of them in the server's scripts.

Any idea?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034817#4034817

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034817
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to