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

Bean with multiple definitions of the same @Local or @Remote interface fails to deploy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • AS 5.0.0.Beta3
    • None
    • None
    • None

      If a bean implements an interface designated as @Local (or @Remote) and it extends a base which implements the same interface, the interface is reported multiple times. Thus the ProxyFactory fails to start.

      ...
      at java.lang.reflect.Proxy.getProxyClass(Proxy.java:370)
      at org.jboss.ejb3.stateful.BaseStatefulProxyFactory.init(BaseStatefulProxyFactory.java:93)
      at org.jboss.ejb3.stateful.BaseStatefulProxyFactory.start(BaseStatefulProxyFactory.java:99)
      at org.jboss.ejb3.stateful.StatefulLocalProxyFactory.start(StatefulLocalProxyFactory.java:93)
      at org.jboss.ejb3.session.ProxyDeployer.start(ProxyDeployer.java:90)
      at org.jboss.ejb3.session.SessionContainer.start(SessionContainer.java:211)
      at org.jboss.ejb3.stateful.StatefulContainer.start(StatefulContainer.java:140)

            arubinge@redhat.com Andrew Rubinger (Inactive)
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: