[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1122) Bean with multiple definitions of the same @Local or @Remote interface fails to deploy

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Nov 20 03:28:18 EST 2007


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

                 Key: EJBTHREE-1122
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1122
             Project: EJB 3.0
          Issue Type: Bug
            Reporter: Carlo de Wolf
            Priority: Blocker
             Fix For: AS 5.0.0.Beta3


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.

java.lang.IllegalArgumentException: repeated interface: com.sun.ts.tests.ejb30.common.appexception.AppExceptionLocalIF
        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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list