1 Reply Latest reply on Apr 13, 2005 12:09 PM by Scott Stark

    Jboss4 to Jboss3 connection problem

    Michal Zajaczkowski Newbie

      I have a big problem. I am connecting from EJB located on Jboss 4.0.1SP1 to EJB located on Jboss 3.2.3.
      But when I invoke method context.lookup I am getting exception java.io.InvalidClassException.
      I know that problem is with objects serializaion and diferent versions of class org.jboss.util.id.GUID but I don't know solution.
      Does anyone know solution or work around for this problem?

      Exception I get:
      javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 6926421946503004889, local class serialVersionUID = 3289509836244263
      718]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:663)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      ...

      Best Regards,
      Michal