[jboss-jira] [JBoss JIRA] Assigned: (EJBTHREE-1150) WebServiceContext injection requires mapped-name
Heiko Braun (JIRA)
jira-events at lists.jboss.org
Tue Jun 17 09:25:33 EDT 2008
[ http://jira.jboss.com/jira/browse/EJBTHREE-1150?page=all ]
Heiko Braun reassigned EJBTHREE-1150:
-------------------------------------
Assignee: Carlo de Wolf
> WebServiceContext injection requires mapped-name
> ------------------------------------------------
>
> Key: EJBTHREE-1150
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-1150
> Project: EJB 3.0
> Issue Type: Bug
> Reporter: Thomas Diesler
> Assigned To: Carlo de Wolf
> Fix For: AS 5.0.0.CR1
>
>
> /home/tdiesler/svn/jbossws/stack/native/trunk
> [tdiesler at tddell trunk]$ ant -Dtest=org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase one-test
> one-test:
> [junit] Running org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase
> [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 3.361 sec
> [junit] Test org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase FAILED
> Caused by: java.lang.RuntimeException: mapped-name is required for wsCtx of deployment EndpointEJB
> at org.jboss.injection.ResourceHandler.loadXmlResourceEnvRefs(ResourceHandler.java:228)
> at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:268)
> at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:455)
> at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:343)
> at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:405)
> at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)
> public class EndpointEJB
> {
> @Resource
> WebServiceContext wsCtx;
> ...
> }
> This used to work in AS5 and still does in AS42
--
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