Re: [JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread Chris Chen
This sounds to me to be more like a Java Class SerializationID issue than JBoss issue.  Every time you recompile a java class code, the SerializationID is generated.  Supposedly they need to match in order for the Java Runtime to know that they are the same classes.  For instance, what if you cha

Re: [JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread Scott M Stark
Title: ClassCastException from serialize, redploy, deserialize The problem is probably the same one we saw when binding and then rebinding ejb home proxies into JNDI using java.rmi.MarshalledObjects. The issue is that there was some caching being done at the vm layer based on identity of the

RE: [JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread JD Brennan
We do set a serialVersionUID in our classes.  And the problem happens even when the class is not recompiled.  Just redeployed. And I think when the serial id doesn't match you get an InvalidClassException not a ClassCastException.   JD   -Original Message-From: Chris Chen [mailto:[

RE: [JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread JD Brennan
fix the problem? Where would I get a reference to the right JBoss class loader?   JD   -Original Message-From: Scott M Stark [mailto:[EMAIL PROTECTED]]Sent: Friday, May 31, 2002 12:41 PMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] ClassCastException from serialize, redploy, deseria