Henri Yandell wrote on Tuesday, January 30, 2007 1:23 AM:

> On 1/25/07, David J. M. Karlsen <[EMAIL PROTECTED]> wrote:
>> I'm calling an EJB on a WebSphere 5.0.2.x server from a WebSphere
>> 6.1, which is throwing (serverside) an Exception which is extending
>> NestableRuntimeException. I'm using commons-lang 2.1 on both sides.
>> 
>> All Serializable classes involved (in my app) declare
>> serializationUID constants. 
>> 
>> Still, I get this serialization error:
>> 
>> org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge :
>> Mismatched serialization UIDs : Source (RepId
>> 
> RMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA
> 78EFC2530:EAEF728564560A6A)
>> = EAEF728564560A6A whereas Target (RepId
>> 
> RMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA
> 78EFC2530:F68F1455DDEE96BB)
>> = F68F1455DDEE96BB  vmcid: IBM  minor code: 89A  completed: No      
>> at
>> com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:2105) 
>> 
>> I've checked the websphere environment - and it does not seem to
>> include any of the commons-lang classes.
>> 
>> Have anybody else experienced this?
> 
> Just this issue a couple of days ago:
> https://issues.apache.org/jira/browse/DBUTILS-36
> 
> "For instance, IBM JVM 1.4.1 has a different way of calculating
> serialVersionUID for Serializable class that does not have
> serialVersionUID defined than JVM 5.0."
> 
> Do you have different VMs at each end?

Keep in mind that any Eclipse compiled class has also a different 
serialVersionUID (independend of the selected JDK) ...

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to