Carlo de Wolf wrote:
No, you should create a WebServiceContextInjectorPlugin which should
hook into the injection framework. That should take the place of the
current ResourceHandler.
Do you have examples/documentation of how to do this?
Carlo
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
>
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx