[jboss-jira] [JBoss JIRA] (AS7-5510) EJB deploys with dual definition

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Sep 7 09:51:33 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716640#comment-12716640 ] 

jaikiran pai commented on AS7-5510:
-----------------------------------

That's strange since this looks like a pretty common example. Can you post the client code which is invoking on the bean?

                
> 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


More information about the jboss-jira mailing list