1 Reply Latest reply on Feb 19, 2006 12:35 PM by Scott Stark

    error in accessing ejb from a remote client.

    Ayusman Dikshit Newbie

      Hi All,
      while deploying my ejb at a remote machine I am getting the below mentioned error.
      Any suggestions?


      C:\>java MyRemoteClient
      Some Exception Occured
      javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVersion
      UID = -6485622724173581497, local class serialVersionUID = -3403843515711139134]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at MyRemoteClient.main(MyRemoteClient.java:23)
      Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVersion
      UID = -6485622724173581497, local class serialVersionUID = -3403843515711139134
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
      ... 3 more
      Caused by: java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVers
      ionUID = -6485622724173581497, local class serialVersionUID = -3403843515711139134
      at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
      at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      at java.io.ObjectInputStream.readClassDesc(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
      ... 6 more