[jboss-dev] mapped-name is required for context of deployment

Thomas Diesler thomas.diesler at jboss.com
Tue Apr 1 08:44:07 EDT 2008


Folks,

http://jira.jboss.org/jira/browse/JBAS-5359

FYI 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)

Is it really required to have a mapped-name?

cheers
-thomas

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx



More information about the jboss-development mailing list