[
http://jira.jboss.com/jira/browse/EJBTHREE-1122?page=comments#action_1238... ]
Andrew Lee Rubinger commented on EJBTHREE-1122:
-----------------------------------------------
Fixes currently in place are a backstop; "getInterfaces"-type methods of
ProxyFactory helper must return Collections with unique values (Set impls)
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
Assigned To: Andrew Lee Rubinger
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