[jboss-jira] [JBoss JIRA] Commented: (AS7-1186) EJB interceptor not invoked

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Mon Jul 11 01:41:23 EDT 2011


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

Stuart Douglas commented on AS7-1186:
-------------------------------------

The ejb-jar.xml in the app is wrong, it is missing an <interceptors> declaration for the interceptor:

<interceptors>
      <interceptor>
         <interceptor-class>testcase.MyInterceptor</interceptor-class>
      </interceptor>
   </interceptors>

This is required by the spec, but I will change the code to log a warning in this case. 

> EJB interceptor not invoked
> ---------------------------
>
>                 Key: AS7-1186
>                 URL: https://issues.jboss.org/browse/AS7-1186
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.0.0.CR1
>            Reporter: Juergen Zimmermann
>             Fix For: 7.0.0.Final
>
>         Attachments: testcase-src.zip, testcase.ear
>
>
> I'll provide a testcase showing that an EJB 3 interceptor is not invoked although defined in MEAT-INF/ejb-jar.xml.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list