[jbossts-issues] [JBoss JIRA] Resolved: (JBTM-377) XAResourceRecord save/restore state insufficiently paranoid

Mark Little (JIRA) jira-events at lists.jboss.org
Thu Jul 3 12:38:31 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBTM-377?page=all ]

Mark Little resolved JBTM-377.
------------------------------

    Resolution: Done

> XAResourceRecord save/restore state insufficiently paranoid
> -----------------------------------------------------------
>
>                 Key: JBTM-377
>                 URL: http://jira.jboss.com/jira/browse/JBTM-377
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA Implementation, Recovery
>    Affects Versions: 4.3.0.GA
>            Reporter: Jonathan Halliday
>         Assigned To: Mark Little
>             Fix For: 4.4.CR2
>
>
> The XAResourceRecord save state method writes meta-data into the objectstore before attempting to Serialize and write the actual bytes for an XAResource that it believes, on the basis of it implementing the marker interface, is Serializable. If the serialization fails at runtime, the objectstore record is left in an invalid state and can cause the recovery pass to blow up in horrible ways.
> We should obtain the byte[] representing the serialized resource before writing anything to the record so that this does not occur. If serialization fails, the record will therefore be useless but at least not otherwise broken.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossts-issues mailing list