Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 952629

Summary: TransactionRolledbackLocalException doesn't reference the originating runtime-exception (AS7-5432)
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: EJBAssignee: wfink
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: jmartisk
Target Milestone: ---   
Target Release: EAP 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 952658 (view as bug list) Environment:
Last Closed: 2013-07-23 18:35:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 952658    

Description wfink 2013-04-16 10:40:18 UTC
Description of problem:
If a runtime-exception thrown by an EJB v2.x application leads to javax.ejb.TransactionRolledbackLocalException (s. org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(...)), the TransactionRolledbackLocalException doesn't reference the originating exception (either as getCause() or as getCausedByException()).
The originating exception gets in org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories.LOCAL_INSTANCE lost: the javax.ejb.EJBTransactionRolledbackException catched here does still contain it, it will, however, not be propagated to the javax.ejb.TransactionRolledbackLocalException created here.

Comment 1 wfink 2013-04-16 10:48:34 UTC
AS7-5432 will be fixed and go into EAP6.1

Comment 2 wfink 2013-04-17 13:55:11 UTC
Change is merged to https://github.com/jbossas/jboss-eap.git (EAP6.1)

Comment 3 Jan Martiska 2013-04-19 10:24:08 UTC
fix is present in EAP 6.1.0.ER5 and has been in EAP branch for a longer time. commits: 96bcd07e and 90ac80ca. setting to verified..