[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] [Beginners Corner] - jndi naming  communication exception
From:       anu_katta <nukes () jboss ! org>
Date:       2005-01-31 23:23:59
Message-ID: 19173267.1107213840291.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

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.

View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864461#3864461

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864461



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic