Bugs item #743097, was opened at 2003-05-25 10:33
Message generated for change (Settings changed) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=743097&group_id=22866

Category: JBossTX
Group: v3.2
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Richard Begg (rabegg)
Assigned to: Adrian Brock (ejort)
Summary: Use of JBossRolledbackException stops pluging in a new tm

Initial Comment:
The use of JBossRollbackException within JBoss 
means that a third-party transaction manager cannot be 
plugged in.

Within TxInterceptorCMT.java (in 
server/src/main/org/jboss/ejb/plugins) in the 
endTransaction method a commit is performed and the 
exception JBossRollbackException is caught - this is 
then used to retrieve the nested exception, which would 
be the reason the commit failed (I think this is usually a 
problem within one of the Synchronization methods).  
This exception is then rebundled and thrown back, 
where decisions are made depending on the type of the 
nested exception (line 109).  None of this will work 
correctly with a standard JTA compliant TM as 
JBossRollbackException is not part of the JTA spec 
and will not get thrown. 

I'm not sure if this JBossRollbackException inspection 
is used else where.

----------------------------------------------------------------------

Comment By: Adrian Brock (ejort)
Date: 2003-06-26 16:57

Message:
Logged In: YES 
user_id=9459

Fixed in TxInterceptorCMT.java

The wrapping exceptions are now part of JBoss/Server
rather than JBoss/TM. 
And it now unwraps a NestedException the interface of
JBossRollbackException which is part of JBoss/TM.

With regards to line 109 (application deadlock retry):
Not performing the retry will not break any application.
This can be considered a value added feature of JBoss/TM.

Regards,
Adrian

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=743097&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to