Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1323

@Resource injection on WebServiceContext fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.0.Final
    • Web Services
    • None
    • Ubuntu 11.04 64 bit, Sun Java 1.6.0_26, JBoss AS 7.0.0.Final

      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;

      ...
      }

              rhn-support-asoldano Alessio Soldano
              Abhi0123 Abhijit Sarkar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: