Dan Wilkin created AS7-5510:
-------------------------------
Summary: EJB deploys with dual definition
Key: AS7-5510
URL:
https://issues.jboss.org/browse/AS7-5510
Project: Application Server 7
Issue Type: Feature Request
Components: EJB
Affects Versions: 7.1.0.Final
Environment: Windows 7
Reporter: Dan Wilkin
Assignee: jaikiran pai
When two uniquely defined Session Beans reference the same interface in the {{@Remote}}
annotation, the following exception occurs:
{noformat}
Caused by: org.jboss.invocation.CannotProceedException: INV-00002:Invocation cannot
proceed (end of interceptor chain has been hit)
at
org.jboss.invocation.InvocationMessages_$bundle.cannotProceed(InvocationMessages_$bundle.java:131)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:293)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at
org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
[jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:202)
[jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
... 100 more
{noformat}
This can occur from a copy-paste error:
{code:title=RedSLSB.java}
@Stateless
@Remote(Red.class)
public class RedSLSB implements Red {
...
}
{code}
{code:title=BlueSLSB.java}
@Stateless
@Remote(Red.class)
public class BlueSLSB implements Blue {
...
}
{code}
--
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