Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-804

ServerException thrown too often

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Minor
    • No Release
    • JBossAS-3.2.6 Final
    • EJB2
    • 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

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: