JBoss Community

Re: Why application exceptions are wrapped in EJBException on AS 6.1?

created by renz13 in EJB3 - View the full discussion

If I use JBoss 6.0.0, application exceptions are wrapped into WeldException. I'm using CDI and it seems to be the same problem as : http://community.jboss.org/thread/169420

 

I'm using Bean Managed Transactions (@TransactionManagement(TransactionManagementType.BEAN)). I've tried with Container-Managed Transactions, and everything works perfectly, but I have to use Bean-Managed Transactions :(

 

Carlo, maybe it also looks like https://issues.jboss.org/browse/JBAS-9443 . Of course I'm not using Stateful Bean, so bean destruction is not a problem, but application exceptions are wrapped into EjbException in that bug as well.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community