Hi.

I posted the following to the EJB3 user list, at first:

I'm using EJB-3.0_Previous_3, JBoss-4.0.1sp1, JBossIDE-1.5-Preview-jre1.5-ALL 
and Eclipse 3.1M5a under Win2000, WinXP and LINUX.
(I followed the install instructions.)

When I am trying to run the 'stateless' example of the EJB3 tutorial the 
following exceptions occur when running the 'client' (client.java):

Exception in thread "main" javax.naming.CommunicationException [Root exception 
is java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; 
local class incompatible: stream classdesc serialVersionUID = 
-1019635950408433617, local class serialVersionUID = -2289426881135628080]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:663)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.tutorial.stateless.client.Client.main(Client.java:19)
Caused by: java.io.InvalidClassException: 
org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream 
classdesc serialVersionUID = -1019635950408433617, local class serialVersionUID 
= -2289426881135628080
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:51)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:566)
... 3 more 


The answer of Bill Burke was:
"JBoss IDE has old version of EJB3 within it. Not sure how to fix. You'll need 
to post on the JBoss IDE user list."

(PS: EJB-3.0_Previous_4 has been released on Friday.)


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

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


-------------------------------------------------------
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-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to