commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: Weird serialization error with NestableDelegate
Date Tue, 30 Jan 2007 06:59:16 GMT
Henri Yandell wrote on Tuesday, January 30, 2007 1:23 AM:

> On 1/25/07, David J. M. Karlsen <david@davidkarlsen.com> 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message