Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1574

EJB3 Remote Annotation with EJB2.x View - Enhanced Error Message

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-Beta12
    • AS 5.0.0.CR1
    • None

      I'm trying to run an EJB2 Client against an EJB3 SLSB, delivering the client
      an EJB2 Home interface with the usage of the @RemoteHome annotation.

      With JBoss 4.2.2.GA the sample is working fine, with JBoss 5.0.0.CR2 i'm
      getting the following Message during the deploy:

      java.lang.IllegalStateException: EJB 3.0 Core Specification Violation (4.6.7):
      The session bean remote interface interface ... must extend the javax.ejb.EJBObject interface.

      >> A more specific Error Message as suggested by ALR would be fine.
      >> Details see JBoss Forum Reference

              arubinge@redhat.com Andrew Rubinger (Inactive)
              tom.iten Tom Iten (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: