我目前正在開發的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