1 Reply Latest reply on Jul 4, 2002 9:12 PM by marc fleury

    Problems with invokation of methods of the remote interface

    Dimitri Pissarenko Newbie

      Hello!

      I have a simple entity EJB and when I call one of the methods of its remote interface, I get the following error message:

      java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
      java.io.InvalidClassException: javax.ejb.EJBException; Local class not compatible: stream classdesc serialVersionUID=796770993296843510 local class serialVersionUID=-9219910240172116449

      java.io.InvalidClassException: javax.ejb.EJBException; Local class not compatible: stream classdesc serialVersionUID=796770993296843510 local class serialVersionUID=-9219910240172116449

      at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)

      at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)

      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)

      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)

      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)

      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)

      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)

      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)

      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)

      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)

      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:212)

      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)

      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)

      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)

      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)

      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)

      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)

      at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:116)

      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)

      at $Proxy1.getName_project(Unknown Source)

      at ebjtest.ProjectBeanClient.main(ProjectBeanClient.java:19)

      Does someone know what this exception means and how to solve the problem?

      Thanks

      Dimitri Pissarenko