I try to specify that an exception is an application exception using ejb-jar.xml. I wrote: <?xml version="1.0" encoding="UTF-8"?> | <ejb-jar> | <description>Sample</description> | <display-name>Sample</display-name> | <application-exception> | <exception-class>mypackage.OptimisticVerificationException</exception-class> | <rollback>false</rollback> | </application-exception> | </ejb-jar> |
Unfortunatelly JBoss embeddable EJB3 rc6 seems to ignore exception definition. Any idea of what's going wrong in my XML ? I have try to use annotation, it works fine. Unfortunatelly for some of the exception I can not change source code. I need to define exception as application exception out of the source code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948128#3948128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948128 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
