Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mismatched serialization UIDs in RMI-IIOP client

grohlDec 18 2006 — edited Dec 22 2006
Hello:

I'm working with SunOne Application Server 7 and Java 1.4.2

I've got a RMI-IIOP client ( standalone ) which calls an EJB component ( running into AS)
But, when anEJB method returns a object named EventException (serializable, of course ) , this warning happens:

WARNING ( 9706):
java.io.IOException: Mismatched serialization UIDs : Source (Rep. IDRMI:com.tid.igri.excepciones.EventException:7791BE87429BA16A:EA9D121802944B20) = EA9D121802944B20 whereas Target (Rep. ID RMI:com.tid.igri.excepciones.EventException:1B40D0613955D39D:0C4586E1B7109706) = 0C4586E1B7109706


This class is stored in JAR file, and this JAR file is in client classpath and server classpath

I tried to set

private static final long serialVersionUID = 42L;

in EventException.java class, but the same warning happens.

Any idea about where can be the problem ? I need some help to begin

Thanks

Best regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 19 2007
Added on Dec 18 2006
1 comment
346 views