[jboss-dev] mapped-name is required for context of deployment
Scott Stark
sstark at redhat.com
Tue Apr 1 10:54:08 EDT 2008
No, this shows up when the resource cannot be resolved. The
WebServiceContext resources needs to be treated specially.
Thomas Diesler wrote:
> 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
>
More information about the jboss-development
mailing list