InvalidClassException
dm1251 Aug 20, 2002 3:25 PMHi,
I'm having quite a bit of trouble passing an Object I created as a parameter to my EJB. I made the object implement java.io.Serializable but its telling me there is a version mismatch even though my client is pointing to the same jar file that I deployed for the ejb.
this is the error message I get:
11:29:12,545 ERROR [STDERR] java.io.InvalidClassException: com.myclasses.integrat
ion.IParamType; Local class not compatible: stream classdesc serialVersionUID=-6
847121201427834103 local class serialVersionUID=6763194835831083548
11:29:12,546 ERROR [STDERR] at java.io.ObjectStreamClass.validateLocalClass(
Compiled Code)@ef8e490
11:29:12,547 ERROR [STDERR] at java.io.ObjectStreamClass.setClass(Compiled C
ode)@ef8e060
11:29:12,547 ERROR [STDERR] at java.io.ObjectInputStream.inputClassDescripto
r(Compiled Code)@ef8d070
11:29:12,548 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bcd0
11:29:12,548 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bbf0
11:29:12,549 ERROR [STDERR] at java.io.ObjectInputStream.inputObject(Compile
d Code)@ef8e8c0
11:29:12,549 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bcd0
11:29:12,550 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bbf0
11:29:12,550 ERROR [STDERR] at java.util.Hashtable.readObject(Compiled Code)
@f4e1dd0
11:29:12,550 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)@d2a285e
11:29:12,551 ERROR [STDERR] at java.io.ObjectInputStream.invokeObjectReader(
Compiled Code)@ef8f580
11:29:12,551 ERROR [STDERR] at java.io.ObjectInputStream.inputObject(Compile
d Code)@ef8e8c0
11:29:12,552 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bcd0
11:29:12,552 ERROR [STDERR] at java.io.ObjectInputStream.inputClassFields(Co
mpiled Code)@ef8f850
11:29:12,552 ERROR [STDERR] at java.io.ObjectInputStream.defaultReadObject(C
ompiled Code)@ef8f730
11:29:12,553 ERROR [STDERR] at java.io.ObjectInputStream.inputObject(Compile
d Code)@ef8e8c0
11:29:12,553 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bcd0
11:29:12,553 ERROR [STDERR] at java.io.ObjectInputStream.inputArray(Compiled
Code)@ef8c630
11:29:12,554 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bcd0
11:29:12,554 ERROR [STDERR] at java.io.ObjectInputStream.readObject(Compiled
Code)@ef8bbf0
11:29:12,555 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.get(Comp
iled Code)@f426ba0
11:29:12,555 ERROR [STDERR] at org.jboss.invocation.MarshalledInvocation.get
Value(Compiled Code)@f426a10
11:29:12,556 ERROR [STDERR] at org.jboss.invocation.Invocation.getArguments(
Compiled Code)@f429e00
11:29:12,556 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$Conta
inerInterceptor.invoke(Compiled Code)@f42c4f0
11:29:12,557 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedCo
nnectionInterceptor.invoke(Compiled Code)@e748cb0
11:29:12,557 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanc
eInterceptor.invoke(Compiled Code)@f42baa0
11:29:12,558 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(Compiled Code)@f429720
11:29:12,558 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(Compiled Code)@f427af0
11:29:12,559 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(Compiled Code)@f42b8b0
11:29:12,559 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(Compiled Code)@f42b810
11:29:12,559 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(C
ompiled Code)@f42b410
11:29:12,560 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invok
e(Compiled Code)@f42b3c0
I've tried shutting down the server restarting recompiling. I don't know what else to do. Any help would be appreciated.
Thanks in Advance