断点

每天进步一点点!
posts - 174, comments - 56, trackbacks - 0, articles - 21

do not get WebServiceContext property from stateless bean context, it should already have been injected

这个主要原因就在stateless bean的实现类。

仔细查看后发现,原来我在实现类的每个方法前加入了 @WebMethod(指定暴露给外界的方法),因此去掉就可以了。


13:41:39,168 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
13:41:39,215 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
13:41:39,215 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
13:41:39,230 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public cn.ztf.bean.Order cn.ztf.service.impl.OrderServiceBean.getOrder(java.lang.String)
13:41:39,246 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String
cn.ztf.service.impl.OrderServiceBean.getUserName(java.lang.String)
13:41:39,246 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.util.List
cn.ztf.service.impl.OrderServiceBean.getOrders()
13:41:39,246 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public cn.ztf.bean.Order cn.ztf.service.impl.OrderServiceBean.getOrder(java.lang.String)
13:41:39,261 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String
cn.ztf.service.impl.OrderServiceBean.getUserName(java.lang.String)
13:41:39,261 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.util.List
cn.ztf.service.impl.OrderServiceBean.getOrders()
13:41:39,293 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
13:46:27,043 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
13:46:27,043 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected

 
posted @ 2009-03-30 14:33 断点 阅读(647) | 评论 (0)

Feedback

# re: EJBTHREE-1337: do not get WebServiceContext property from stateless bean context。  回复  更多评论   

2010-04-13 04:07 by rao@gmail.com
I hope you have answers for this question.
Can you post this message in English?

只有注册用户登录后才能发表评论。


网站导航: