I have an app with an EJB that threw a NullPointerException. JBoss wrapped this in an EJBTransactionRolledbackException, which it then threw to the client. When this happened, JBoss didn't log the exception. My understanding of the EJB Specification (Chapter 14, page 358) is that when an EJB throws a RuntimeException, the app server is supposed to log it.
Am I misunderstanding, or doing something wrong?
Assuming your invoked method is participating in the same UserTx as the caller, yes.
http://jira.jboss.com/jira/browse/EJBTHREE-1103
S,
ALR