[jboss-user] [EJB 3.0] - May be it's a bug about exception wrapping

FangTianying do-not-reply at jboss.com
Sat Oct 27 14:20:25 EDT 2007


hi,

env : JBoss 4.2.1GA  with Sun JDK1.5  WindowsXP EJB3.0

When SLSB A(transaction att:requried)  calls SLSB B(transaction att:not supported) though B's local interface, and B throws a RuntimeException, then A will recieve just this very RuntimeException rather than a EJBException.
I mean the EJB Container should wrap the rt. ex thrown by SLSB b to an EJBException, and then deliver the EJBException to it's caller - SLSB A.

If this is a bug, please let me know, thanks.  fangtianying at yahoo.cn

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099614#4099614

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099614



More information about the jboss-user mailing list