[jboss-jira] [JBoss JIRA] (WFLY-3329) EJBs with same Java class name not intercepted by CDI interceptors
Maxim Frolov (JIRA)
issues at jboss.org
Fri May 30 12:39:16 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972051#comment-12972051 ]
Maxim Frolov commented on WFLY-3329:
------------------------------------
Indeed "overriding", using {{@Stateless(name="...")}} works fine on WildFly and JBoss AS7! I retested it.
Obviously I made some mistake during my first tests.
As to _no-interface view_, thank you for good hints with correct spec references!
Actually the problem occured in production where both beans were {{@Remote(...)}} {{@Stateless}} and one of them was additionally {{@WebService}}. To provide an example I tried to reduce everything to a minimum and clearly removed too much.
> EJBs with same Java class name not intercepted by CDI interceptors
> ------------------------------------------------------------------
>
> Key: WFLY-3329
> URL: https://issues.jboss.org/browse/WFLY-3329
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CDI / Weld
> Affects Versions: JBoss AS7 7.1.1.Final, JBoss AS7 7.2.0.Final, 8.0.0.Final
> Reporter: Maxim Frolov
> Assignee: Martin Kouba
> Labels: ejb, ejb3.1, interceptor
>
> h3. Given
> Two or more EJBs with the same Java class name but from different Java deployments.
> h3. Problem
> Interceptor intercepts method calls to only one of the EJBs.
> An EJB to be intercepted seems to be chosen randomly after each redeployment.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list