Hi, I have a weird situation.
I have two jboss instances; Instance 1 = jboss 4.0.0 Instance 2 = jboss 4.0.2RC1 Instance two supports my chosen DS as the default DS so it is my preference to use this (at least whilst I work on getting Instance 1 to support postgresql as the defaultds). However at the moment preference is not important - I have sucessfully deployed some code - no errors in deployment on either instance. However when letting a client connect to Instance 2 I get the following set of exceptions; | 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 = -3403843515711139134, local class serialVersionUID = -6485622724173581497] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:648) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) | at javax.naming.InitialContext.lookup(InitialContext.java:347) | at styejb21.day05.client.SignOnClient.main(SignOnClient.java:35) | Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: | java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVersionUID = -3403843515711139134, local class serialVersionUID = -6485622724173581497 | 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:529) | ... 3 more | Caused by: java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream classdesc serialVersionUID = -3403843515711139134, local class serialVersionUID = -6485622724173581497 | 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) | ... 5 more | Some reading showed up that it is an issue with the jbossall-client.jar that I am using - however it is the version that shipped with this jboss not some older version. If I try the client code connecting to instance 1 with either the client.jar from instance1 or instance2 there is absolutely no problem. Does anyone know why the client.jar distributed with 4.0.2RC1 cannot talk to jnp on jboss 4.0.2RC1? Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873508#3873508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873508 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
