[jboss-user] [JBoss Seam] - jboss-ejb3-all.jar StatelessRemoteProxy serialVersionUID out
nynymike
do-not-reply at jboss.com
Fri Aug 24 07:21:28 EDT 2007
I'm running JBoss 4.05.GA and Seam 1.2.1.GA. I'm trying to use RMI to call one of my SLSB's. I'm using MyEclipse 6.0.0GA, which is Eclipse 3.3 (not sure if this matters). I get this stack trace:
| JNDI Name: VmManagerSessionBean/remote
| FAILED: testLookupAccount
| javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.stateless.StatelessRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2583299153931800023, local class serialVersionUID = -9097306519795868]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
| at javax.naming.InitialContext.lookup(InitialContext.java:392)
| at us.ziacom.voicemail.test.TestVmManagerSessionBean.testLookupAccount(TestVmManagerSessionBean.java:22)
| Caused by: java.io.InvalidClassException: org.jboss.ejb3.stateless.StatelessRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2583299153931800023, local class serialVersionUID = -9097306519795868
| at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
| at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
| at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
| at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
| at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
| at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:653)
| ... 25 more
| ... Removed 22 stack frames
|
I see this post on the EJB3 Jira that seems relevant:
http://jira.jboss.com/jira/browse/EJBTHREE-402
I think I have to get the StatelessRemoteProxy object in JBoss, and the one that is being used in Seam, to match. The problem is, I'm not sure exactly how to do this. I see SEAM is including a file jboss-ejb3-all.jar, but the JBoss App Server has several jars that have ejb3 in the name.
Thanks in advance!
- Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077730#4077730
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077730
More information about the jboss-user
mailing list