0 Replies Latest reply on Apr 28, 2003 10:07 AM by nalini_sharma

    Regarding incompatible serialversionUID

    nalini_sharma Newbie

      Hi,
      I'm trying to establish connectivity between JBoss2.4.4 & JBoss3.0.0.
      I've deployed the jar on Jboss3.0.0 & the war is running on JBoss2.4.4. I do understand that serialversionUIDs may differ if the classes are compiled on different machines, but i've extracted the client from my jar itself. Still, i'm getting the following exception(Pls note that all the EJBs are 2.0 compliant) :

      java.io.InvalidClassException: org.jboss.proxy.ejb.HomeInterceptor; Local class not compatible: stream classdesc serialVersionUID=-5228829863448809735 local class serialVersionUID=1333656107035759718
      at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:518)
      at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:931)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:108)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1207)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:133)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
      at Tari_00025f.display._0002fTariff_0002fdisplay_0002fChargingUnitTypeList_0002ejspChargingUnitTypeList_jsp_1._jspService(_0002fTariff_0002fdisplay_0002fChargingUnitTypeList_0002ejspChargingUnitTypeList_jsp_1.java:346)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
      at org.apache.tomcat.core.Handler.service(Handler.java:287)
      at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
      at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
      at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
      at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
      at java.lang.Thread.run(Thread.java:479)

      Please help!
      Thanx
      Nalini