[jboss-jira] [JBoss JIRA] Commented: (JBAS-5359) mapped-name is required for context of deployment
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Tue Apr 8 04:06:54 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5359?page=comments#action_12407454 ]
Thomas Diesler commented on JBAS-5359:
--------------------------------------
The above seems to work -r71777, but fails for
private WebServiceContext context;
@Resource
public void setContext(WebServiceContext context)
{
log.info("injecting: " + context);
this.context = context;
}
> 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
More information about the jboss-jira
mailing list