[Design of EJB 3.0] - Getting EJBTHREE-1337 in JBoss 5.0.0.GA with each web servic
by cwolters
I get the warning
[StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected
with each call to a deployed web service. I'm running JBoss 5.0.0.GA with JDK6.
The Web Service is defined with these annotations:
@Stateless
| @Remote(QuoteEndpoint.class)
| @TransactionAttribute(TransactionAttributeType.REQUIRED)
| @WebService(serviceName = "QuoteService", endpointInterface = "services.endpoints.QuoteEndpoint")
| @Interceptors( { LoginEndpointInterceptor.class })
| public class QuoteEndpointImpl extends AbstractSessionBeanImpl implements QuoteEndpoint {
|
| @Resource
| public SessionContext sessionContext;
| ...}
and the webservice interface:
@WebService
| public interface QuoteEndpoint {
| @WebMethod
| EquityDTO[] getSubscriptions();
|
| @WebMethod
| CustomSymbolDTO[] getCustomSymbols();
|
| @WebMethod
| void receiveQuotes(QuoteDTO[] quotes);
|
| @WebMethod
| void receiveEquityMappings(equityMappingDTO[] equityMappingDTOs);
| }
Is something wrong with this code? Can I ignore the warning?
Please remove the warning from the log if unnecessary.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199271#4199271
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199271
15 years, 4 months