my team is having problems due to transactions that do not rollback after application exceptions. I created a configuration so that all exceptions that were subclasses of Exception would generate rollback, but the configuration did not work. Does anyone know what I did wrong? I put the fallowing configuration in ejb-jar file inside WEB-INF
<assembly-descriptor>
<application-exception>
<exception-class>java.lang.Exception</exception-class>
<rollback>true</rollback>
<inherited>true</inherited>
</application-exception>
</assembly-descriptor>