我目前正在开发的JBoss应用服务器5.0.0.GA的EJB 3.0应用基础和刚刚下面的警告在服务器日志中出现了:JBoss:来自InterceptorRegistry的警告EJBTHREE-1246是什么意思?
09:50:19,735 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container 09:50:19,735 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container 09:50:19,735 WARN [InterceptorRegistry] applicable interceptors is non-existent for ... ...
的警告就会产生作为EJB(一个无状态的会话bean)被注入到我的JSF web应用程序的后台bean中。尽管如此,这些bean确实没有任何问题,但我仍然想知道该警告来自哪里,以及我能做些什么来避免它。
我已经搜索了一下,但没有找到一个好的答案(有人说,bean开发人员不必担心,但它的警告,所以我想有一个更好的解决方案):
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147292
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180366
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140136
- JBoss JIRA Issue about the warning(不,在我看来有帮助)
因此,有没有人解释是什么原因引发了警告(以bean开发人员而不是应用程序服务器开发人员的名义)以及如何避免此警告?
更新:我刚刚升级了JBoss 5.0.1.GA(Download,Release-Notes),但不幸的是警告仍然出现。
正是!我不知道为什么我作为他们产品的使用者必须知道由我无法控制的内部部件产生的警告,因此无法解决警告。 – 2009-05-22 12:10:46