0 Replies Latest reply on Jul 3, 2009 10:43 AM by alen_ribic

    @Interceptors not working when jboss-aop defined in jboss-ao

    alen_ribic

      I have a jboss-aop.xml file in my EAR.
      My jboss-aop.xml defines an interceptor class that works 100%.

      Today, I tried to also make use of EJB interceptors using @Interceptors annotation on my Stateless Session Bean and the result is that my EJB interceptor never gets called.

      However, when I comment out the interceptor I have defined in my jboss-aop.xml file, the EJB interceptor starts working.

      Is there a particular reason this happens and is there a way to make both work?

      Thank you in advance.

      -Alen