Bugs item #598146, was opened at 2002-08-21 10:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=598146&group_id=22866

Category: JBossServer
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Ole Husgaard (sparre)
Assigned to: Ole Husgaard (sparre)
Summary: RemoteException from local interface

Initial Comment:
According to the EJB2.0 specification, section 7.10.4,
it is discouraged (but not strictly forbidden) for a
bean business method to throw RemoteException.

If a bean business method that was invoked through a
local interface throws RemoteException, the
RemoteException is propagated out from the local
interface.
But that violates section 7.10.7.

The LogInterceptor should wrap such RemoteExceptions
in EJBException, if the invocation is local.



----------------------------------------------------------------------

Comment By: Stefan Kuehnel (skuehnel)
Date: 2002-12-05 12:18

Message:
Logged In: YES 
user_id=596644

Two points:

1) The fix has been ported to Branch_3_2 but not to Branch
3_0. Is there a reason,  for that?
2) The way the fix is done is currently implemented in HEAD
and Branch_3_2 it disables all the special casing for
RemoteExceptions below. In particular, the handling of
TransactionRolledBackExceptions is totally cut of.

My suggestion therefore would be to move the new wrapping
code further down just before the handling of (e is Exception).

Thoughts?

----------------------------------------------------------------------

Comment By: Ole Husgaard (sparre)
Date: 2002-08-21 11:24

Message:
Logged In: YES 
user_id=175257

Now fixed in CVS HEAD.

I'll keep this bug open until fix has been
backported to Branch_3_0 and Branch_3_2.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=598146&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to