Issue Type: Bug Bug
Affects Versions: EJB3_1 1.0.0
Assignee: Unassigned
Components: ejb3_1
Created: 21/Aug/12 8:48 AM
Description:

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]).

Environment: JBoss EAP 6.0.0
Project: EJB 3.0
Labels: ejb3.1 eap6
Priority: Major Major
Reporter: Adam Kovari
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