[ http://jira.jboss.com/jira/browse/JBAS-1254?page=history ]
     
Scott M Stark closed JBAS-1254:
-------------------------------

     Resolution: Done
    Fix Version: JBossAS-4.0.1 Final
                  JBossAS-3.2.7 Final

> remote commit failure:JBossLocalXAException not serializable
> ------------------------------------------------------------
>
>          Key: JBAS-1254
>          URL: http://jira.jboss.com/jira/browse/JBAS-1254
>      Project: JBoss Application Server
>         Type: Bug
>   Components: JTA service
>     Reporter: SourceForge User
>     Assignee: Scott M Stark
>      Fix For: JBossAS-4.0.1 Final,  JBossAS-3.2.7 Final

>
>
> SourceForge Submitter: mpichler .
> We have implemented a JCA connector with local
> transaction support. When our EIS reports a failure on
> commit we do a rollback ourselves and throw a
> LocalTransactionException to indicate that the
> transaction was rolled back instead of successfully
> committed.
> Afterwards it seems that jboss tries to issue a
> rollback itself which results in a
> JBossLocalXAException: wrong xid in rollback: expected:
> null, got: XidImpl [FormatId=257,
> GlobalId=mpichler//711, BranchQual=1. This might be
> relateed to the (closed) bug #1056320
> http://sourceforge.net/tracker/?group_id=22866&atid=376685&func=detail&aid=1056320
> As a result, the client is sent a RollbackException
> (org.jboss.tm.JBossRollbackException) as expected
> (perfectly normal).
> However: when it is a remote client commiting an
> UserTransaction, the nested root cause
> JBossLocalXAException cannot be deserialized, because
> it is not in jbossall-client.jar,
> and the remote client gets:
>   java.rmi.UnmarshalException: Error unmarshaling
> return; nested exception is:
> java.lang.ClassNotFoundException:
> org.jboss.resource.connectionmanager.JBossLocalXAException
> (no security manager: RMI class loader disabled)
> - thus it cannot receive/handle the RollbackException
> properly.
> We use jboss 3.2.3 under both Linux and WinXP, with JDK
> 1.4.2.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to