[jboss-jira] [JBoss JIRA] (JBAS-9450) Throwing exception annotated with @ApplicationException from bean with Bean-Managed transaction is causing exception to be wrapped in EJBException

Carlo de Wolf (Resolved) (JIRA) jira-events at lists.jboss.org
Mon Oct 24 14:29:45 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-9450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf resolved JBAS-9450.
---------------------------------

    Resolution: Duplicate Issue

    
> Throwing exception annotated with @ApplicationException from bean with Bean-Managed transaction is causing exception to be wrapped in EJBException
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-9450
>                 URL: https://issues.jboss.org/browse/JBAS-9450
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>    Affects Versions: 6.1.0
>         Environment: Windows XP OS, JDK 1.6.0_15
>            Reporter: Martin Gold
>            Assignee: Carlo de Wolf
>         Attachments: testejb.zip
>
>
> If exception (even if annotated with @ApplicationException) is thrown from stateless session bean with Bean-Managed transaction (@TransactionManagement(TransactionManagementType.BEAN)) then this exception is wrapped in EJBException. This does not happened in JBoss 6.0.0.Final and it is also not happening for beans with Container-managed transaction.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list