ejb 3.0 - JBoss: What does the warning EJBTHREE-1246 from the InterceptorRegistry mean? -


I am currently developing an EJB 3.0 based application on JBoss 5.0.0.GA and just recently In the server log shown the following warning:

 09: 50: 19,735 Warning [InterceptorsFactory] EJBTHREE-1246: 50: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry beans should be used through container 09 InterceptorsFactory] EJBTHREE-1246: Do not Use Interceptors Should be used 09: 50: 19,735 Alert [Interceptor Rangerstation] is non-present for the interceptor applied ... ... 

As soon as an EJB (a Stateless Session Bean) my JSF Web- In the backing bean of the application is injected, the warnings are generated. Although beans work without problems, but I still want to know where that warning comes from and what I can do to avoid it.

I have already searched around a bit, but have not got a good answer (Some people say, bean developers do not have to worry, but its a warning, so I

  • (Not that it's useful in my opinion)

    • Li>

    So anyone has an explanation what causes the warning (in the case of a bean developer, the application is not the server developer) and what Do

    Update to avoid areas :. I've just upgraded JBoss to 5.0.1.GA (), but unfortunately the warning still appears.

  • As far as I understand all the available sources on this warning, it is not a JBoss 5 user, do anything about JBys developers and essentially just a reminder that they Use the classes incorrectly.

    Those developers, I am now ignoring it by changing my logging configuration in conf / jboss-log4j.xml. I just added:

      & lt; Category name = "org.jboss.ejb3.interceptors" & gt; & Lt; Priority value = "error" /> & Lt; / Category & gt;  

    Comments