[jboss-jira] [JBoss JIRA] Commented: (AS7-1323) @Resource injection on WebServiceContext fails

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Wed Jul 20 04:23:23 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615348#comment-12615348 ] 

Alessio Soldano commented on AS7-1323:
--------------------------------------

Please see my message on the forum and follow up there. The rs/resteasy dependencies and errors shown above are not really telling me a lot if the problem is with a jaxws deployment.

> @Resource injection on WebServiceContext fails
> ----------------------------------------------
>
>                 Key: AS7-1323
>                 URL: https://issues.jboss.org/browse/AS7-1323
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web Services
>    Affects Versions: 7.0.0.Final
>         Environment: Ubuntu 11.04 64 bit, Sun Java 1.6.0_26, JBoss AS 7.0.0.Final
>            Reporter: Abhijit Sarkar
>            Assignee: Alessio Soldano
>
> 00:20:55,004 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-4) Can't handle @Resource for ENC name: MovieServiceRestful/wsCtx on class MovieServiceRestful since it's missing a "lookup" (or "mappedName") value and isn't of any known type.
> @WebServiceProvider
> @BindingType(value = HTTPBinding.HTTP_BINDING)
> public class MovieServiceRestful implements Provider<Source> {
>     @Resource
>     protected WebServiceContext wsCtx;
>     ...
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list