0 Replies Latest reply on Jan 31, 2005 6:23 PM by anu katta

    jndi naming  communication exception

    anu katta Newbie

      Hi all,
      I got this exception adn don't know why it is... and how can I fix this.
      I am using Jboss4.0.0 , linux and postgreSQL
      Please help me how can I fix this....

      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 serialVersionUID = -6485622724173581497, local class serialVersionUID = -3403843515711139134]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:574)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at com.abcsinc.fwk.dbquery.DBQuerySBFactory.create(DBQuerySBFactory.java:42)
      at com.abcsinc.fwk.dbutils.TableUtil.openDataSet(TableUtil.java:58)
      at com.abcsinc.fwk.dbutils.ReorgTables.reorgTables(ReorgTables.java:51)
      at com.abcsinc.fwk.dbutils.ReorgTables.main(ReorgTables.java:394)
      Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVersionUID = -6485622724173581497, local class serialVersionUID = -3403843515711139134
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:456)
      ... 6 more
      Caused by: java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVersionUID = -6485622724173581497, local class serialVersionUID = -3403843515711139134
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
      ... 8 more

      --Thanks.
      ANu.