geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <>
Subject [jira] Commented: (GERONIMO-644) Serialized form of GBeans objects must each declare SUID
Date Wed, 26 Apr 2006 16:41:03 GMT
    [ ] 

Dain Sundstrom commented on GERONIMO-644:

If you build the server using the -Dorg.apache.geronimo.kernel.config.Marshaler=org.apache.geronimo.kernel.config.xstream.XStreamConfigurationMarshaler
Geronimo will use XStream instead of Java ObjectOutputStream for saving the configurations.
 This is what we are planning on switching to for 1.2.  Unfortunately, xstream does use the
Sun unsafe package to create objects.  In the mean time, if you have some free time you could
supply a patch to this :)

> Serialized form of GBeans objects must each declare SUID
> --------------------------------------------------------
>          Key: GERONIMO-644
>          URL:
>      Project: Geronimo
>         Type: Bug

>   Components: kernel
>     Reporter: Tim Ellison
>     Assignee: Dain Sundstrom
>      Fix For: 1.2

> Since Geronimo exchanges config information via serialized form of Java objects, its
imperative that the serializable classes declare a serialVersionUID.  If they don't then the
serialized form is not necessarily compatible across Java implementations (or even Java compilers)
> The case in point is the wire format classes in ActiveMQ (e.g. "org.codehaus.activemq.message.DefaultWireFormat")
which are marked serializable and do not declare a static ID.  I've tried raising this with
ActiveMQ [2] but without success.
> I can provide the required SUID in each case, but it looks like I might need help to
get it into the ActiveMQ code.
> [1]
> [2]

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message