Discussion:
[jboss-user] [Beginner's Corner] - java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible
ifteqar ahmed
2012-03-20 11:26:15 UTC
Permalink
ifteqar ahmed [https://community.jboss.org/people/ifteqar2011] created the discussion

"java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible"

To view the discussion, visit: https://community.jboss.org/message/725008#725008

--------------------------------------------------------------
Hi,


I am using Jboss-5.1.0 GA on client side and JBoss-EAP 4.3 as Remote Server.

First I brought up Jboss-4.3 EAP Remote Server and while bringing up the Client JBoss-5.1.0 GA i am getting the below ERROR Please help



1. Caused by: java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local cl 
2. ass serialVersionUID = -2711693270411201590 
3.         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) 
4.         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) 
5.         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) 
6.         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) 
7.         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) 
8.         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) 
9.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 
10.         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) 
11.         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) 
12.         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 
13.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 
14.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) 
15.         at java.rmi.MarshalledObject.get(MarshalledObject.java:135) 
16.         at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) 
17.         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:769) 
18.         ... 90 more 
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/725008#725008]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Halli Balli
2013-01-24 14:02:53 UTC
Permalink
Halli Balli [https://community.jboss.org/people/halliballi] created the discussion

"Re: java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible"

To view the discussion, visit: https://community.jboss.org/message/794055#794055

--------------------------------------------------------------
This means that you have two versions of the same class.
Your server class is not the same like your client class.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/794055#794055]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...