Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5359

mapped-name is required for WebServiceContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • JBossAS-5.0.0.CR1
    • None
    • None
    • None

      Any webapp deployment that uses

      @Resource
      public WebServiceContext context;

      currently fails with

      14:36:47,407 ERROR [BaseModelMBean] Exception invoking method addChild
      java.lang.RuntimeException: mapped-name is required for context of deployment jaxws-binding.war
      at org.jboss.injection.ResourceHandler.loadXmlResourceEnvRefs(ResourceHandler.java:228)
      at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:268)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:348)
      at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)

              rhn-support-hbraun Heiko Braun
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: