commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-286) Serialization - not backwards compatible
Date Fri, 26 Jan 2007 14:45:49 GMT

    [ https://issues.apache.org/jira/browse/LANG-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467834
] 

David J. M. Karlsen commented on LANG-286:
------------------------------------------

Any news on this?

I'm extending NestableRuntimeException and NestableException - and expiriencing serialization
errors between a WebSphere 5.0.2 server and a WebSphere 6.1 server - probably due to changed
serializationUIDs on some of the classes that are used within NestableDelegate:

org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization
UIDs : Source (RepId RMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA78EFC2530:EAEF728564560A6A)
= EAEF728564560A6A whereas Target (RepId RMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA78EFC2530:F68F1455DDEE96BB)
= F68F1455DDEE96BB  vmcid: IBM  minor code: 89A  completed: No
        at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:2105)

explicitly setting an serializationUID on NestableDelegate would probably solve the case.

Using commons-lang 2.1 in both JVM/servers.

> Serialization - not backwards compatible
> ----------------------------------------
>
>                 Key: LANG-286
>                 URL: https://issues.apache.org/jira/browse/LANG-286
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: N/A
>            Reporter: David J. M. Karlsen
>             Fix For: 2.3
>
>
> Release report states that commons-lang 2.2 is binary backwards compatible, this does
not seem to be correct between commons-lang 2.1 and 2.2
> Running 2.2 at the server and 2.1 on client will result in an exception:
> org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization
UIDs : Source (Rep. IDRMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA78EFC2530:F68F1455DDEE96BB)
= F68F1455DDEE96BB whereas Target (Rep. ID RMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA78EFC2530:0000000000000001)
= 0000000000000001  minor code: 4942F89A  completed: No

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message