Details
-
Feature Request
-
Resolution: Won't Do
-
Minor
-
JBossAS-3.2.6 Final
-
None
Description
SourceForge Submitter: drmlipp .
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