Bugs item #850152, was opened at 2003-11-27 10:57
Message generated for change (Settings changed) made by drmlipp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=850152&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
>Priority: 8
Submitted By: Michael Lipp (drmlipp)
Assigned to: Nobody/Anonymous (nobody)
Summary: ServerException thrown too often

Initial Comment:
EntityHandleImpl.getEJBObject maps all Exceptions to
java.rmi.ServerException. It must not do this as
ServerException has a very special meaning (see JDK API
doc).

As all exceptions are mapped to ServerExceptions, the
client cannot know if the RemoteException is temporary
(e.g. one node in a cluster failed) or permanent (e.g.
the object that is referred to in the handle does not
exist anymode). However, an EJB client must be able to
obtain this information in order to react
appropriately. E.g. the object not being found should
be mapped to a java.rmi.noSuchObjectException (this is
what we usually get when calling a method an a remote
interface that refers to an EJB that does not exist any
more).

 - Michael


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

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


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to