[
http://jira.jboss.com/jira/browse/JBAS-5359?page=comments#action_12406205 ]
Scott M Stark commented on JBAS-5359:
-------------------------------------
A WebServiceContextInjector should be configured to handle this special resource.
mapped-name is required for context of deployment
-------------------------------------------------
Key: JBAS-5359
URL:
http://jira.jboss.com/jira/browse/JBAS-5359
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Assigned To: Scott M Stark
Fix For: JBossAS-5.0.0.CR1
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira