1 Reply Latest reply on Dec 18, 2002 6:03 AM by Petr MRAZ

    InvalidClassException -  please help

    Petr MRAZ Newbie

      Hi,
      I just downloaded jboss 3.0.4 and when im trying to lookup jndi context by following lines (calling is from servlet)

      try {
      Object res = myJNDIContext.lookup(name);
      } catch (Exception e) {
      System.out.println("[ERROR] " + e.toString());
      }

      then I got this error message:
      ----------------------------------------------------
      [ERROR] javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.invocation.jrmp.inter
      faces.JRMPInvokerProxy; Local class not compatible: stream classdesc serialVersionUID=-3713605626489646730 local class serialVersi
      onUID=4948756606502181321]
      ----------------------------------------------------

      I use TOMCAT 4.0 and JRE 1.3.1
      I suppose there will be a mismash with libraries..

      Thanks
      Petr