[jboss-jira] [JBoss JIRA] (WFLY-2509) Method invocation of a non serializable remote EJB

omar al kababji (JIRA) jira-events at lists.jboss.org
Thu Nov 14 05:37:05 EST 2013


omar al kababji created WFLY-2509:
-------------------------------------

             Summary: Method invocation of a non serializable remote EJB 
                 Key: WFLY-2509
                 URL: https://issues.jboss.org/browse/WFLY-2509
             Project: WildFly
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: EJB
            Reporter: omar al kababji
            Assignee: David Lloyd
            Priority: Optional


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list