Mismatched serialization UIDs in RMI-IIOP client
grohlDec 18 2006 — edited Dec 22 2006Hello:
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