[jboss-jira] [JBoss JIRA] (AS7-5497) Exception handling of EJB container for MDB is incorrect

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Mar 14 05:19:42 EDT 2013


    [ https://issues.jboss.org/browse/AS7-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761095#comment-12761095 ] 

RH Bugzilla Integration commented on AS7-5497:
----------------------------------------------

Carlo de Wolf <cdewolf at redhat.com> changed the Status of [bug 900803|https://bugzilla.redhat.com/show_bug.cgi?id=900803] from NEW to ASSIGNED
                
> Exception handling of EJB container for MDB is incorrect
> --------------------------------------------------------
>
>                 Key: AS7-5497
>                 URL: https://issues.jboss.org/browse/AS7-5497
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.2.Final (EAP)
>         Environment: JBoss EAP 6.0.0
>            Reporter: Adam Kovari
>            Assignee: JBoss SET
>            Priority: Minor
>              Labels: eap6, ejb3.1
>             Fix For: EAP 6.1.0.Alpha (7.2.0.Final), 7.1.4.Final (EAP)
>
>
> After deploying a MDB with Container-Managed transaction and
> TransactionAttribute NOT_SUPPORTED, a RuntimeException thrown from
> within the MDB onMessage() is reported to the Adapter as such, with no
> EJBException wrapping. I.e.: the "((javax.jms.MessageListener)
> endPoint).onMessage(message)" call in our adapter fails with the
> exception type originally thrown.
> This does not look compliant with EJB 3.1 spec(JSR 318: Enterprise
> JavaBeansTM, Version 3.1, Table 20 page 392, last cell bottom right):
> "Throw EJBException that wraps the original exception to resource
> adapter".
> Another part of spec I was just made aware of says this:
> p383 of the spec states -
> In the case of a message-driven bean, the container logs the exception and then throws a javax.ejb.EJBException that wraps the original exception to the resource adapter. (See [15]).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list