Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2509

Method invocation of a non serializable remote EJB

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Optional
    • None
    • None
    • EJB
    • None

    Description

      If you have a remote EJB that is not Serializable (i.e. does not implement the interface Serializable) you can lookup such class from a remote EJB client however when you execute a method you get an error as follows:

      java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling

      The enhancement is to give an error or warning message when the EJB is deployed notifying the developer that he is deploying a Remote EJB that is not implementing the Serializable interface.

      The same thing happens if you deploy an EJB marked with the annotation @Remote but with no @Stateless nor @Statefull annotations.

      Attachments

        Activity

          People

            tadamski@redhat.com Tomasz Adamski
            kababji_jira omar al kababji (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: